Skip to main content

to_own_server

Function to_own_server 

Source
pub fn to_own_server(url: &str) -> bool
Expand description

Whether url goes to the page’s own server: a URL with no scheme and no host of its own. Decided on the URL as the page wrote it, identically in every host.