Splits a base URL as did:web sees it: its authority and its path segments, parsed by hand so a port the Host header carried is kept.
did:web
the base URL
{ host, segments }
Splits a base URL as
did:websees it: its authority and its path segments, parsed by hand so a port the Host header carried is kept.