Senthil Kumaran <sent...@uthcode.com> added the comment:

This kind of suggestion has come up before and easy fix is to add individual 
schemes as the patch does. There is a number of limitations if want to make the 
parser generic for any scheme. The difficult thing being the parsing behavior 
and requirements as defined by scheme. 

The generic parsing rule, which was added previously was, when someone comes up 
a new scheme and what could be default "fall-back parsing rule".

In this report, I see ws and wss has some requirements, which needs to be 
codified in the parsing rules followed by urlparse module. To start with, going 
with patch is a good way. 

If you find any other library (I look at libcurl) handling it differently, 
please point it out here, so that it can could be useful.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13244>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to