An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.com/vi/http-bytes.svg?branch=master)](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