On 05Jan2021 22:41, Dan Sommers <2qdxy4rzwzuui...@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 <c...@cskk.id.au>
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/G53HY2NDDGS4MJT3QDSEAL5YIP5YYD3F/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to