8 releases

0.1.6 Jan 4, 2025
0.1.5 Dec 20, 2024
0.1.4 Sep 22, 2024
0.1.3 Aug 9, 2024
0.0.1 Mar 10, 2024

#331 in HTTP server

Download history 76/week @ 2024-09-23 20/week @ 2024-09-30 8/week @ 2024-10-07 3/week @ 2024-10-14 5/week @ 2024-11-04 4/week @ 2024-11-18 4/week @ 2024-11-25 13/week @ 2024-12-09 134/week @ 2024-12-16 7/week @ 2024-12-23 115/week @ 2024-12-30 28/week @ 2025-01-06

285 downloads per month
Used in 2 crates (via min_http11_parser)

MIT license

41KB
913 lines

min_http11_core  LICENSE crates.io Version Documentation

pub enum Version {
    Http11,
    Unsupported(..),
}
pub enum Method {
    Get,
    Head,
    Post,
    Put,
    Delete,
    Options,
    Patch,
    Other(..),
}
pub enum HeaderName {
    ContentLength,
    Host,
    IfMatch,
    IfNoneMatch,
...
Other(..),
Unknown(..),
}
pub struct KnownHeaders<'a> {
    pub content_length: Option<&'a [u8]>,
    pub host: Option<&'a [u8]>,
    pub if_match: Option<&'a [u8]>,
    pub if_none_match: Option<&'a [u8]>,
    ...
}

Dependencies

~0.3–0.8MB
~18K SLoC