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.
Created on 2012年09月27日 21:50 by Alexander.Martin, last changed 2022年04月11日 14:57 by admin.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| Truncated_POST_data_in_CGI_script_on_Win7.zip | Alexander.Martin, 2012年09月27日 21:50 | server script, HTML file and Python script for error reproduction | ||
| Messages (4) | |||
|---|---|---|---|
| msg171394 - (view) | Author: Alexander Martin (Alexander.Martin) | Date: 2012年09月27日 21:50 | |
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. |
|||
| msg171417 - (view) | Author: Alexander Martin (Alexander.Martin) | Date: 2012年09月28日 08:42 | |
The successful script execution was run under Python 2.7.3 (as of today one of the two as "production version" labeled releases). The initial report's reference to Python 2.7.2 was made by mistake. May anyone confirm this error behaviour on Python production version 3.2.3 on Windows? |
|||
| msg224271 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年07月29日 23:09 | |
@Alexander apologies for the delay in getting back to you. Who is best placed to look at this issue, I'll admit to knowing squat about cgi? |
|||
| msg228365 - (view) | Author: Eyal Gruss (Eyal.Gruss) | Date: 2014年10月03日 19:21 | |
i can confirm on win 7 and python 3.4.1 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:36 | admin | set | github: 60270 |
| 2019年04月26日 18:07:20 | BreamoreBoy | set | nosy:
- BreamoreBoy |
| 2014年10月03日 19:21:50 | Eyal.Gruss | set | nosy:
+ Eyal.Gruss messages: + msg228365 |
| 2014年07月29日 23:12:29 | brian.curtin | set | nosy:
- brian.curtin |
| 2014年07月29日 23:09:54 | BreamoreBoy | set | versions:
+ Python 2.7, Python 3.4, Python 3.5, - Python 3.2 nosy: + BreamoreBoy messages: + msg224271 components: + Library (Lib) |
| 2012年09月28日 08:42:53 | Alexander.Martin | set | messages: + msg171417 |
| 2012年09月27日 21:50:47 | Alexander.Martin | create | |