Bob Chen added the comment:
How about this patch?
--
___
Python tracker
<http://bugs.python.org/issue22231>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Bob Chen <175818...@qq.com>:
Added file: http://bugs.python.org/file37592/httplib.py.patch
___
Python tracker
<http://bugs.python.org/issue22231>
___
___
Changes by Bob Chen <175818...@qq.com>:
Removed file: http://bugs.python.org/file36492/httplib.py.patch
___
Python tracker
<http://bugs.python.org/issue22231>
___
__
Bob Chen added the comment:
Is there any possibility that we encapsulate urllib.quote into httplib? Because
many developers wouldn't know about this utility function. And as I mentioned
above, they could have got an unicode url from anywhere inside python, like an
API call, without
Changes by Bob Chen <175818...@qq.com>:
--
type: crash -> behavior
___
Python tracker
<http://bugs.python.org/issue22231>
___
___
Python-bugs-li
Bob Chen added the comment:
Someone come and pick up this? It has been a long time...
--
___
Python tracker
<http://bugs.python.org/issue22231>
___
___
Python-bug
Bob Chen added the comment:
up...
--
___
Python tracker
<http://bugs.python.org/issue22231>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Bob Chen added the comment:
This patch ensures the url not to be unicode, so the 'join' would not cause
error when there is utf-8 string behind.
--
___
Python tracker
<http://bugs.python.o
Changes by Bob Chen <175818...@qq.com>:
--
keywords: +patch
Added file: http://bugs.python.org/file36492/httplib.py.patch
___
Python tracker
<http://bugs.python.org/i
Bob Chen added the comment:
I personally suggest httplib convert the url and other elements to be string,
at the begging of the class init.
--
___
Python tracker
<http://bugs.python.org/issue22
New submission from Bob Chen:
Try to run these two script below, and you will understand what I'm talking
about.
If you specified an url and it happened to be an unicode string(which is quite
common in python because python processes string as unicode and you could
possibly get it
11 matches
Mail list logo