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

Laurens Van Houtven _ at lvh.cc
Sat Jul 7 10:57:16 EDT 2012

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 :)


More information about the Twisted-Python mailing list