New submission from Alexander Martin:

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.

----------
components: Windows
files: Truncated_POST_data_in_CGI_script_on_Win7.zip
messages: 171394
nosy: Alexander.Martin, brian.curtin, tim.golden
priority: normal
severity: normal
status: open
title: Truncated POST data in CGI script on Windows 7
type: behavior
versions: Python 3.2
Added file: 
http://bugs.python.org/file27322/Truncated_POST_data_in_CGI_script_on_Win7.zip

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16066>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to