http-bytes

Bridge Rust's `http` crate world and bytes world without a real web framework

Downloads
64.3K
Stars
5
Committers
1

http-bytes

Some ways to define this crate:

  • Adaptor between httparse and http crates.
  • Super-lowlevel web framework, almost minimal one around http crate.
  • A way to turn byte buffers to/from HTTP request/response headers

HTTP 1 only, no HTTP 2.

Body is not touched in any way. Not performance-optimized. Request handling code tries to to Basic Authorization (can opt out).

Supports Rust 1.28.0

License: MIT/Apache-2.0