a79fc98e36eac485803b1ab97f35c60198fd72cb
The Response body was previously inaccessible to application code. This change allows applications that may wish to alter the Response based on previous creation (or not) of the body to do so. n.b. discussion in #1216 indicates this function may change in 0.12 or be removed in favour of some other api. Closes #1216.
hyper
A Modern HTTP library for Rust.
Documentation
Get started by looking over the guides.
Overview
hyper is a fast, modern HTTP implementation written in and for Rust. It is a low-level typesafe abstraction over raw HTTP, providing an elegant layer over "stringly-typed" HTTP.
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 libraries.
See the Hello World example for a toy server using hyper.
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 1.0 issue milestone.
Languages
Rust
94.5%
C
5.2%
Shell
0.3%