[issue13244] WebSocket schemes in urlparse

Jyrki Pulliainen report at bugs.python.org
Sat Oct 22 22:32:33 CEST 2011


Jyrki Pulliainen <jyrki at dywypi.org> added the comment:

I added a patch that adds support for WebSocket URL protocol.

However, a few pointers (and questions):

- The patch is now implemented according to Draft 17[1] of WebSocket protocol

- Draft 17 does not support fragments, it states that the fragments should be treated as a part of the URL, so I didn't add the ws and wss support in uses_fragments. However, the Draft 17 states also, that those should always be encoded. Should there be a special case for ws/wss URLs that have non-encoded number-signs in them, for example should we raise some sort of an exception?

[1] http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-17

----------
keywords: +patch
nosy: +nailor
Added file: http://bugs.python.org/file23497/issue13244.patch

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


More information about the Python-bugs-list mailing list