[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0
STINNER Victor
report at bugs.python.org
Fri Jan 7 10:15:48 CET 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
We may also accept TextIOWrapper (eg. sys.stdin) *and*
BufferedReader/FileIO (eg. sys.stdin.buffer). It is possible to test the
type of the stream. With a TextIOWrapper, the raw buffer can be read
using stream.buffer.
But for StringIO/BytesIO: only BytesIO should be accepted.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4953>
_______________________________________
More information about the Python-bugs-list
mailing list