http-rs / http-types

Common types for HTTP operations
https://docs.rs/http-types
Apache License 2.0
200 stars 83 forks source link

Body should be constructed around a Read instead of a BufRead #297

Open jbr opened 3 years ago

jbr commented 3 years ago

this will require dropping the BufRead implementation for Body, Request, and Response as well as changing the Body::from_reader signature — people can wrap Reads with async_std::io::BufReaders if they need BufRead behavior