pub fn same_origin(a: &str, b: &str) -> bool
Whether two URLs are on one server (see url_origin).
url_origin