[issue13244] WebSocket schemes in urlparse

Tobias Oberstein report at bugs.python.org
Sat Oct 22 23:30:25 CEST 2011


Tobias Oberstein <tobias.oberstein at tavendo.de> added the comment:

I'll ask (to be sure) and link.

However, after rereading the Hybi 17 section, it says

"""
path = <path-abempty, defined in [RFC3986], Section 3.3>
"""

And http://tools.ietf.org/html/rfc3986 says:

"""
The path is terminated by the first question mark ("?") or number sign ("#") character, or by the end of the URI.
"""

So my reading would be: non-escaped # can never be part of path for a WebSocket URL by reference of RFC3986.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13244>
_______________________________________


More information about the Python-bugs-list mailing list