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 being
Changes by Bob Chen 175818...@qq.com:
Removed file: http://bugs.python.org/file36492/httplib.py.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22231
Changes by Bob Chen 175818...@qq.com:
Added file: http://bugs.python.org/file37592/httplib.py.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22231
Bob Chen added the comment:
How about this patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22231
___
___
Python-bugs-list mailing list
Bob Chen added the comment:
Someone come and pick up this? It has been a long time...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22231
Changes by Bob Chen 175818...@qq.com:
--
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22231
___
___
Python-bugs-list
Bob Chen added the comment:
up...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22231
___
___
Python-bugs-list mailing list
Unsubscribe:
https
Changes by Bob Chen 175818...@qq.com:
--
keywords: +patch
Added file: http://bugs.python.org/file36492/httplib.py.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22231
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 rep...@bugs.python.org
http://bugs.python.org/issue22231
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 rep...@bugs.python.org
http://bugs.python.org/issue22231
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 from
11 matches
Mail list logo