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

R. David Murray report at bugs.python.org
Mon Jun 27 15:41:38 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

To clarify: if I convert your program to using strings pre2.6, it still fails with a UnicodeDecodeError, as one would expect.  bytes are strings in 2.x.

----------

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


More information about the Python-bugs-list mailing list