ba6fcf33b0b97a99cf593da530b744961f8f77e4
I couldn't figure out why my "username:password" strings kept failing to parse into a Basic auth header, until I realized that the implementation expects it to be base-64 encoded, which would be the case if it was coming from HTTP. I'm not sure if this is the best place to document it, but hopefully it will make it more clear for other people / me when I forget. Perhaps a better approach would be to document somewhere that all `FromStr` impls for headers are there for parsing request headers, and not really for creating them.
hyper
A low-level HTTP implementation for Rust.
Get started by looking over the guides.
Overview
hyper is a fast, safe HTTP implementation written in and for Rust.
hyper offers both an HTTP client and server which can be used to drive complex web applications written entirely in Rust.
hyper makes use of "async IO" (non-blocking sockets) via the Tokio and Futures crates.
Be aware that hyper is still actively evolving towards 1.0, and is likely to experience breaking changes before stabilising. You can also see the issues in the upcoming milestones.
Languages
Rust
94.5%
C
5.2%
Shell
0.3%