pub fn slice_to_header_map(sl: &[(&str, &str)]) -> HeaderMap
Utility to convert a slice of string pairs into an http::HeaderMap.
http::HeaderMap