Re: [whatwg/url] Addressing HTTP servers over Unix domain sockets (#577)

You don't really want to put the UDS path in the URL's path, because somebody could write:

```html
<a href="/help">...</a>
```

And that would overwrite the path to the UDS, meaning a broken link.

Instead, you really want this to be part of the hostname. Hostnames are intrinsically abstract already, so there is no fundamental reason they can't resolve to a local socket. In other words, @randomstuff 's project is doing the conceptually correct thing by providing a mapping from hostnames to sockets.

And perhaps most importantly, it shows that this need can be met without changing the URL standard.

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

Message ID: <whatwg/url/issues/577/1837207995@github.com>

Received on Saturday, 2 December 2023 17:23:16 UTC