[issue7904] urllib.urlparse mishandles novel schemes
mARK
report at bugs.python.org
Thu Feb 11 05:53:13 CET 2010
mARK <python.mbloore at xoxy.net> added the comment:
it's not actually necessary to have a list of known schemes. any url that has a double slash after the colon is expected to follow that with an authority section (what urlparse calls "netloc"), optionally followed by a path, which starts with a slash.
there are various defined schemes with their own syntax within the URL framework, but one is free to invent new ones with the general form
scheme://netloc/path
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7904>
_______________________________________
More information about the Python-bugs-list
mailing list