pub fn same_origin(a: &str, b: &str) -> boolExpand description
Whether a and b name the same origin: the same scheme, host (any case) and port (the scheme’s default when
absent), whatever else either carries (a trailing slash, a path, a query, user information). Never true for
another host, port or scheme. An address with no web origin is the same as another only when written the same.