On Wed, Mar 26, 2014 at 11:24 PM, Jens Alfke <[email protected]> wrote:
> > On Mar 26, 2014, at 3:07 AM, JC de Villa <[email protected]> wrote: > > > We were initially planning on using pythons email.mime module to build > the > > request, but the ability to change the line separator is available only > on > > python >= 3.2. > > Really? The line separator in a multipart document MUST be a CRLF. That's > hardwired into the specification*. --Jens > > * http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html Yeah. I saw that too. The gnarly details of the bug is in http://bugs.python.org/issue1349106 It was around since 2005 and the fix was committed in 2010, which landed it in 3.2. And of course, nothing ships with python 3 by default... Fun, fun, fun. -- JC de Villa
