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

The ask is for the URL standard to specify a syntax for referring to a page served via HTTP over a UNIX domain socket. Currently, applications that want to support connecting to an HTTP service have to pick from one of the following three:

1. Provide a bespoke mechanism for specifying the server's socket outside of the URL, such as curl's `--unix-socket` command-line argument.
2. Accept a custom URL format outside of the URL standard for addressing resources served via HTTP over UNIX domain socket.
3. Forgo the functionality altogether if 1 is impractical and 2 is undesired.

None of these are ideal. Deciding on a standardized URL syntax allows different implementations to implement the functionality in a common, standards-compliant way.

-- 
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/577#issuecomment-950045984

Received on Saturday, 23 October 2021 02:55:43 UTC