http-body
http-body copied to clipboard
feat(http): implement http_body::Body trait for Vec<u8>
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.