Skip to main content

parse_request_line

Function parse_request_line 

Source
fn parse_request_line(headers: &[u8]) -> Result<(&str, &str), ()>
Expand description

Method and path of the request line. A block without \r\n (header-less minimal request) is treated as the line itself.