10 releases

0.2.7 Sep 22, 2024
0.2.6 Aug 9, 2024
0.2.5 Jul 13, 2024
0.2.4 Jun 2, 2024
0.0.1 Mar 10, 2024

#1112 in HTTP server


Used in zip_static_handler

MIT license

63KB
1.5K SLoC

min_http11_parser  LICENSE crates.io Version Documentation

let mut reader = BufReader::new(reader);
let mut buffer = vec![];
let (method, path, known_headers, _other_headers) = Parser::default()
    .parse_request_line_and_headers( & mut reader, & mut buffer)
    .await?;

Dependencies

~2.9–9MB
~76K SLoC