Function parse_request_method_header

Source
pub fn parse_request_method_header(line: &str) -> Option<(String, String)>
Expand description

Returns the request method and raw path from the header line if matched

GET / HTTP/1.1