pub fn resolve_object(source: &Url, relative: Url) -> UrlExpand description
Port of Url.prototype.resolveObject (lib/url.js): resolve relative
(already parsed with slashesDenoteHost) against source.
This is NOT RFC 3986 resolution and was never meant to be: it carries the
parsed fields across, so the scheme and host come out lowercased and
punycoded by parse, an empty port disappears, and a non-slashed protocol
(mailto:) lets .. crawl into the host. Each quirk below is node’s.