Skip to main content

checked_url

Function checked_url 

Source
pub fn checked_url(raw: &str) -> Result<String, Refused>
Expand description

The URL to hand the browser for raw, as the parser writes it back: a host that is not ASCII in punycode, the path percent-encoded. Refused unless it is an http or https URL with a host and nothing a lenient parse would mend.