[issue4953] Cannot upload binary file from form ?
Amaury Forgeot d'Arc
report at bugs.python.org
Thu Jan 15 13:43:51 CET 2009
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
OK, another try. Please replace the previous version with these 3 lines:
encoding = os.environ.get('HTTP_TRANSFER_ENCODING')
stdin = open(sys.stdin.fileno(), 'r', encoding=encoding)
opsform = cgi.FieldStorage(stdin)
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4953>
_______________________________________
More information about the Python-bugs-list
mailing list