gaurav gangalwar gaurav.gangalwar at gmail.com
Thu Sep 29 07:17:46 CEST 2011

I am getting this error while some testing on Python2.6,

 File "/usr/lib64/python2.6/httplib.py", line 774, in _send_output     #msg
= "\r\n".join(self._buffer) UnicodeDecodeError: 'ascii' codec can't decode
byte 0xe1 in position 14: ordinal not in range(128)

I tried the change suggested on this link
http://web.archiveorange.com/archive/v/PJbOg9pxJoUpQA9AHp3X, its working
fine after that.

There seems to be some problem in httplib with unicode handling.
I am running it on centos5.
I am still not sure why its happening and what will be ideal solution for

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110929/9387382b/attachment.html>

More information about the Python-list mailing list