[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

Senthil Kumaran report at bugs.python.org
Mon May 16 03:51:57 CEST 2011


Senthil Kumaran <senthil at uthcode.com> added the comment:

The bug was about sending Binary "data" via httplib. In the example you
wrote, you are sending a unicode "url" and experiencing a failure for
certain examples.

In the 2.7, the urls should be str type, we don't have function to
deal with unicode url separately and sending of unicode url is an
error.

----------

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


More information about the Python-bugs-list mailing list