[issue6234] cgi.FieldStorage is broken when given POST data
Michal Hordecki
report at bugs.python.org
Mon Sep 14 18:49:24 CEST 2009
Michal Hordecki <mhordecki at gmail.com> added the comment:
It is because FieldStorage requires str, whereas wsgi.input gives bytes.
You can always wrap environ['wsgi.input'] in TextIOWrapper.
----------
nosy: +MHordecki
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6234>
_______________________________________
More information about the Python-bugs-list
mailing list