This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ssbarnea
Recipients r.david.murray, ssbarnea, terry.reedy, vstinner
Date 2011-06-27.13:53:51
SpamBayes Score 0.005592228
Marked as misclassified No
Message-id <1309182831.75.0.81182143822.issue12398@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-06-27 13:53:51ssbarneasetrecipients: + ssbarnea, terry.reedy, vstinner, r.david.murray
2011-06-27 13:53:51ssbarneasetmessageid: <1309182831.75.0.81182143822.issue12398@psf.upfronthosting.co.za>
2011-06-27 13:53:51ssbarnealinkissue12398 messages
2011-06-27 13:53:51ssbarneacreate