Author Alexander.Martin
Recipients Alexander.Martin, brian.curtin, tim.golden
Date 2012-09-27.21:50:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
POST data is truncated randomly when sent to a python script running on a simple python CGI server on Windows 7 with Python 3.2.3.

The same server and script files run successfully on MAC OSX 10.8 with Python 3.2.3. A similar server (adapted for lower Python version) and the same script file do work fine on Windows 7 with Python 2.7.2. 

Steps to reproduce: Attached zip contains server script, HTML file and Python script, that receives an uploaded file and saves it to disk. Upload an image file and submit the form inside the HTML file to Python script. Repeat form submission multiple times. In more than 50% of test cases, the uploaded file will not be completely available inside the Python script. That means size of the same uploaded file varies with each POST request. Additionally, the Python server will reset the HTTP connection sometimes.
Date User Action Args
2012-09-27 21:50:48Alexander.Martinsetrecipients: + Alexander.Martin, tim.golden, brian.curtin
2012-09-27 21:50:48Alexander.Martinsetmessageid: <>
2012-09-27 21:50:46Alexander.Martinlinkissue16066 messages
2012-09-27 21:50:45Alexander.Martincreate