See #3766 (comment) .
It's unfortunate that all of our methods on Body (e.g. into_string, into_bytes, into_string_lossy) take self owned, meaning you can't effectively pull data out of the http::Request<Body> without calling either into_parts or into_body. We should revise some or all of these methods to take &self receivers, or add new methods which take &self receivers additionally.
See #3766 (comment) .
It's unfortunate that all of our methods on
Body(e.g.into_string,into_bytes,into_string_lossy) takeselfowned, meaning you can't effectively pull data out of thehttp::Request<Body>without calling eitherinto_partsorinto_body. We should revise some or all of these methods to take&selfreceivers, or add new methods which take&selfreceivers additionally.