sorin <sorin.sbar...@gmail.com> added the comment:

Right, so you have some binary data and you want to sent it to `httplib`. This 
worked in the past when `msg` was a non-unicode string, but starting with 
Python 2.7 this became an unicode string, so when you try to append the 
`message` if will fail because it will try to decode it.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12398>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to