Skip to main content

parse_cgi_headers

Function parse_cgi_headers 

Source
pub fn parse_cgi_headers(
    block: &[u8],
) -> Result<(u16, String, Vec<(String, String)>), String>
Expand description

Status, reason and headers of a CGI response header block. Status: sets the status; a Location: without one is a 302.