Open akneni opened 1 week ago
Implement the http_body::Body trait for the Vec<u8> type to improve ergonomics when working with byte vectors as HTTP bodies. This change allows Vec<u8> to be used directly as a body type in hyper, reducing the need for additional wrappers.
http_body::Body
Vec<u8>
@seanmonstar Any thoughts on this PR?
Implement the
http_body::Body
trait for theVec<u8>
type to improve ergonomics when working with byte vectors as HTTP bodies. This change allowsVec<u8>
to be used directly as a body type in hyper, reducing the need for additional wrappers.