[issue6234] cgi.FieldStorage is broken when given POST data

2011-07-02 Thread Éric Araujo
Éric Araujo added the comment: Closing as duplicate. The other report has more discussion. -- nosy: +eric.araujo resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> WSGI, cgi.FieldStorage incompatibility __

[issue6234] cgi.FieldStorage is broken when given POST data

2010-08-27 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mai

[issue6234] cgi.FieldStorage is broken when given POST data

2010-08-26 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue6234] cgi.FieldStorage is broken when given POST data

2009-09-14 Thread Michal Hordecki
Michal Hordecki 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 __

[issue6234] cgi.FieldStorage is broken when given POST data

2009-06-15 Thread Miles Kaufmann
Changes by Miles Kaufmann : -- nosy: +milesck ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue6234] cgi.FieldStorage is broken when given POST data

2009-06-07 Thread Evan Fosmark
New submission from Evan Fosmark : Right now, it seems impossible to use cgi.FieldStorage in 3.0 if you're giving it environ['wsgi.input'] like so: post_data = cgi.FieldStorage( fp=environ["wsgi.input"], environ=environ, keep_blank_values=True ) It gives the