Function kvarn_utils::replace_header_static
source · [−]pub fn replace_header_static<K: IntoHeaderName + Copy>(
headers: &mut HeaderMap,
name: K,
new: &'static str
)
Expand description
Replaces header name
with new
(a &’static str) in headers
.
See replace_header
for more info.