Skip to main content

parse_cgi_response

Function parse_cgi_response 

Source
pub fn parse_cgi_response(
    stdout: &[u8],
) -> Result<(u16, Map<String, Value>, Vec<u8>)>
Expand description

Parse a CGI response: header lines up to the first blank line (CRLF or LF), Status (default 200, or 302 with a Location), the rest the body.