On 05Jan2021 22:41, Dan Sommers 2QdxY4RzWzUUiLuE@potatochowder.com wrote:
That said, AIUI, there's nothing stopping a web server from using whatever separators it wants. Everything after the domain name is up to the web server to interpret; it just happens that most early web servers ran on Unix/Posix/Linux boxes and mapped URLs fairly directly to parts of the file system, and "/" was more natural than anything else.
Well, not really. On the server side something has to map the URL local part to a file path or some handler, and that could use whatever separators it likes.
However, HTML relative URLs rely on '/' as a separator to resolve correctly. You can't change that without breaking the text web because relative URLs are resolved by browsers, not servers.
Cheers, Cameron Simpson firstname.lastname@example.org