http-body
http-body copied to clipboard
Asynchronous HTTP body trait
Implement the `http_body::Body` trait for the `Vec` type to improve ergonomics when working with byte vectors as HTTP bodies. This change allows `Vec` to be used directly as a body...
Proposes to update `http-body-util`'s MSRV to 1.61 to use https://github.com/rust-lang/rust/pull/93827/.
Allows `Empty`'s constructor in const context. Depends on #128.
I'm updating http-body from 0.4 to 1.0. The `data()` method is not exists in new version. `into_data_stream()` is a substitute, however it makes too many diffs in my project. So...
Adds const constructor for empty `Full`.