Expand description
Header value storage. Values are kept as Cow<'static, str> so static
defaults (e.g. "application/json") cost zero allocations while dynamic
values (auth tokens, session IDs) heap-allocate on demand.
Structsยง
- Header
Value - A header value. Use
HeaderValue::from_staticfor'static strliterals to avoid allocation.