Function async_scgi::headers::header_string_map[][src]

pub fn header_string_map(
    raw_headers: &[u8]
) -> Result<(ScgiHeaders, usize), ScgiHeaderParseError>
Expand description

Parse the headers and pack them as strings 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.