[issue22231] httplib: unicode url will cause an ascii codec error when combined with a utf-8 string header
Bob Chen
report at bugs.python.org
Sun Jan 4 06:49:47 CET 2015
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 noticed that it is potentially wrong.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22231>
_______________________________________
More information about the Python-bugs-list
mailing list