Closed whitfin closed 5 years ago
Now that set_body accepts a Vec<u8>, there's no need for this UTF8 check/conversion in the Hyper context. It can go directly into a Hyper Body, which should be a little more efficient.
set_body
Vec<u8>
Body
Great call! :+1:
Now that
set_body
accepts aVec<u8>
, there's no need for this UTF8 check/conversion in the Hyper context. It can go directly into a HyperBody
, which should be a little more efficient.