[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions
sorin
report at bugs.python.org
Fri Jun 24 13:25:05 CEST 2011
sorin <sorin.sbarnea at gmail.com> added the comment:
There is another problem that makes the problem even more critical. OS X 10.7 does include Python 2.7.1 as the *default* interpreter.
So we'll need both a fix for the future and an workaround.
BTW, the hack with sys.setdefaultencoding cannot be used if you really send binary data.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11898>
_______________________________________
More information about the Python-bugs-list
mailing list