[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0
report at bugs.python.org
Thu Jan 6 03:12:49 CET 2011
Glenn Linderman <v+python at g.nevcal.com> added the comment:
In all cases the interpreter must be launched with the -u option. As stated in the documentation, the effect of this option is to "force the binary layer of the stdin, stdout and stderr streams (which is available as their buffer attribute) to be unbuffered. The text I/O layer will still be line-buffered.". On my PC (Windows XP) this is required to be able to read all the data stream ; otherwise, only the beginning is read. I tried Glenn's suggestion with mscvrt, with no effect
If you start the interpreter with -u, then my mscvrt has no effect. Without it, there is an effect. Read on...
Could you open a separate bug with a simple piece of code to reproduce
the issue (preferably without launching an HTTP server :))?
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list