[][src]Function net::url::parse_request_uri

pub fn parse_request_uri(rawurl: &str) -> Result<URL, Error>

parse_request_uri parses rawurl into a URL structure. It assumes that rawurl was received in an HTTP request, so the rawurl is interpreted only as an absolute URI or an absolute path. The string rawurl is assumed not to have a #fragment suffix. (Web browsers strip #fragment before sending the URL to a web server.)