This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author v+python
Recipients v+python
Date 2010-11-21.05:43:08
SpamBayes Score 1.602357e-09
Marked as misclassified No
Message-id <1290318189.86.0.129478140251.issue10480@psf.upfronthosting.co.za>
In-reply-to
Content
CGI is a bytestream protocol.  Python assumes a text mode encoding for stdin and stdout, this is inappropriate for the CGI interface.

CGI should provide an API to "do the right thing" to make stdin and stout binary mode interfaces (including mscvrt setting to binary on Windows).  Failing that, it should document the need to do so in CGI applications.

Failing that, it should be documented somewhere, CGI seems the most appropriate place to me.
History
Date User Action Args
2010-11-21 05:43:10v+pythonsetrecipients: + v+python
2010-11-21 05:43:09v+pythonsetmessageid: <1290318189.86.0.129478140251.issue10480@psf.upfronthosting.co.za>
2010-11-21 05:43:08v+pythonlinkissue10480 messages
2010-11-21 05:43:08v+pythoncreate