mirror of
https://github.com/openharmony/third_party_rust_http-body.git
synced 2026-07-01 20:24:01 -04:00
f4694c7e8200c488d02d4556961a42a218b85686
* Make default is_end_stream pessimistically return false * Fix test to ensure no size hint will default to an ended stream Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
HTTP Body
A trait representing asynchronous operations on an HTTP body.
More information about this crate can be found in the crate documentation.
Usage
To use http-body, first add this to your Cargo.toml:
[dependencies]
http-body = "0.1.0"
Next, add this to your crate:
use http_body::Body;
fn main() {
// ...
}
License
This project is licensed under the MIT license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in http-body by you, shall be licensed as MIT, without any additional
terms or conditions.
Languages
Rust
100%