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 aronacher
Recipients aronacher, georg.brandl
Date 2011-01-22.12:45:49
SpamBayes Score 0.00010013268
Marked as misclassified No
Message-id <1295700354.03.0.333269896981.issue10980@psf.upfronthosting.co.za>
In-reply-to
Content
I have a critical bugfix that should make it into Python 3.2 even when it's in release candidate state.  Currently http.server.BaseHTTPServer encodes headers with ASCII charset.  This is at least in violation with PEP 3333 which demands that latin1 is used.

Because HTTP itself suggests latin1 (iso-8859-1) I strongly recommend changing this in BaseHTTPServer and not wsgiref.

The attached patch fixes that in a backwards compatible fashion.
History
Date User Action Args
2011-01-22 12:45:54aronachersetrecipients: + aronacher, georg.brandl
2011-01-22 12:45:54aronachersetmessageid: <1295700354.03.0.333269896981.issue10980@psf.upfronthosting.co.za>
2011-01-22 12:45:50aronacherlinkissue10980 messages
2011-01-22 12:45:50aronachercreate