Skip to main content

is_same_origin

Function is_same_origin 

Source
pub fn is_same_origin(a: &Url, b: &Url) -> bool
Expand description

Whether two URLs share a scheme, host and port, with default ports treated as equal to their explicit form.