homepage

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 hdima
Recipients hdima
Date 2008年12月22日.11:30:52
SpamBayes Score 0.0013320606
Marked as misclassified No
Message-id <1229945457.69.0.495711258596.issue4718@psf.upfronthosting.co.za>
In-reply-to
Content
It seems the wsgiref package was copied from Python 2.* without any
modifications. There are already 3 issues about that but they only
describe a part of the problem so I decided to start a new one. The
issues was:
http://bugs.python.org/issue3348
http://bugs.python.org/issue3795
http://bugs.python.org/issue4522
The attached patch fix the problem with the following changes:
- Fixed headers handling in wsgiref/simple_server.py;
- Fixed encoding problems. Now WSGI applications must return iterable
with bytes but start_response() allow status and headers as bytes and as
strings. "wsgi.input" file-like now use BytesIO instead of StringIO;
- Fixed tests;
- Updated documentation examples;
History
Date User Action Args
2008年12月22日 11:30:58hdimasetrecipients: + hdima
2008年12月22日 11:30:57hdimasetmessageid: <1229945457.69.0.495711258596.issue4718@psf.upfronthosting.co.za>
2008年12月22日 11:30:56hdimalinkissue4718 messages
2008年12月22日 11:30:56hdimacreate

AltStyle によって変換されたページ (->オリジナル) /