Closed stackinspector closed 10 months ago
We have HeaderValue::from_maybe_shared to create HeaderValue from Bytes without copying, so what about the reverse?
HeaderValue::from_maybe_shared
HeaderValue
Bytes
HeaderValue is not a type included in this crate, so you probably need to open an issue in the crate that defines that type (https://github.com/hyperium/http).
We have
HeaderValue::from_maybe_shared
to createHeaderValue
fromBytes
without copying, so what about the reverse?