9 releases
0.1.7 | Feb 16, 2025 |
---|---|
0.1.5 | Dec 20, 2024 |
0.1.4 | Sep 22, 2024 |
0.1.2 | Jul 13, 2024 |
0.1.0 | Mar 22, 2024 |
#319 in HTTP server
128 downloads per month
Used in 2 crates
(via min_http11_parser)
41KB
913 lines
min_http11_core

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
~305–760KB
~17K SLoC