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 catlee
Recipients catlee, flox, orsenthil
Date 2013-06-10.15:23:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370877829.38.0.794912540474.issue18167@psf.upfronthosting.co.za>
In-reply-to
Content
To demonstrate how to hit this in a real use case, run the attached script which implements a simple http server that saves POSTed files to a local file "got_data". It returns the sha1sum of the POSTed file as the http response.

Then, create a test file consisting of 65,535 null bytes, and submit with curl.

-> % dd if=/dev/zero of=data bs=1 count=65535                                                                                           
65535+0 records in
65535+0 records out
65535 bytes (66 kB) copied, 0.0890487 s, 736 kB/s

-> % sha1sum data
391edab7225a1de662ebc3a1a670a20d8e6a226b  data

-> % curl -Fdata=@data http://localhost:8080/
8dd623ef130a8cd3e97086101a6e1255a91fb916%
History
Date User Action Args
2013-06-10 15:23:49catleesetrecipients: + catlee, orsenthil, flox
2013-06-10 15:23:49catleesetmessageid: <1370877829.38.0.794912540474.issue18167@psf.upfronthosting.co.za>
2013-06-10 15:23:49catleelinkissue18167 messages
2013-06-10 15:23:49catleecreate