https://github.com/vi/http-bytes
Bridge Rust's `http` crate world and bytes world without a real web framework
https://github.com/vi/http-bytes
Last synced: about 1 year ago
JSON representation
Bridge Rust's `http` crate world and bytes world without a real web framework
- Host: GitHub
- URL: https://github.com/vi/http-bytes
- Owner: vi
- Created: 2019-06-12T22:47:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-07T21:55:18.000Z (over 6 years ago)
- Last Synced: 2025-03-28T21:03:03.793Z (over 1 year ago)
- Language: Rust
- Size: 18.6 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.com/vi/http-bytes)
# 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