[Twisted-Python] Doing HTTP file uploads (multipart forms) RESOLVED

Laurens Van Houtven _ at lvh.cc
Sat Jul 7 12:02:34 MDT 2012


Forgot the attachment… twice. Yay for new email clients I'm not used to
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.py
Type: text/x-python-script
Size: 1389 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20120707/7dfb9b58/attachment-0002.bin>
-------------- next part --------------




cheers
lvh



On 07 Jul 2012, at 16:57, Laurens Van Houtven wrote:

> With a lot of help from idnar, the issue is resolved!
> 
> There were a few red herrings that ended up cleaning my code a lot, but eventually it ended up boiling down to my MIME generating code simply being busted. Fixed version attached.
> 
> Apparently this also highlighted a minor issue in twisted.web with the wrong header being preferred, but I'll leave that up to the expert :)
> 
> 
> cheers
> lvh
> 



More information about the Twisted-Python mailing list