Re: [whatwg/url] Support relative URLs (#531)

As for what constitutes a relative URL, depending on how you model an URL/ URL 'record' there are at least five parts that may be absent or present (protocol, authority, path, query, hash, but the path may be subdivided), so there are at least 2<sup>5</sup> 'shapes' of URLs, out of which only a few would be considered absolute. 

This might sound like it is very complex, but the general structure is fairly simple and RFC3986 specifies how to handle all of them. Moreover, the RFC can be adapted to express the behaviour of web browsers, as I've laid out in my projects. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/531#issuecomment-836857303

Received on Monday, 10 May 2021 15:42:46 UTC