Function async_scgi::headers::header_str_map [−][src]
pub fn header_str_map<'h>(
raw_headers: &'h [u8]
) -> Result<(HashMap<&'h str, &'h str>, usize), ScgiHeaderParseError>
Expand description
Parse the headers and pack them as slices into a map.
The value of the CONTENT_LENGTH
header is returned in adition to the
header map. The SCGI
and CONTENT_LENGTH
headers are not included
in the header map.