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

Laurens Van Houtven _ at lvh.cc
Fri Jul 6 06:08:36 EDT 2012

Attached is an updated version of the client and server, including a 1x1 white JPEG pixel (that Paintbrush decides to make an entire 2.6kB, mostly due to i18n…).

This way you can actually make semantically identical requests using both your browser (don't change the input fields other than the file field) and the client.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Archive.zip
Type: application/zip
Size: 3903 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20120706/6d67fe6c/attachment-0001.zip 
-------------- next part --------------

More information about the Twisted-Python mailing list