[New-bugs-announce] [issue10980] http.server Header Unicode Bug
report at bugs.python.org
Sat Jan 22 13:45:54 CET 2011
New submission from Armin Ronacher <armin.ronacher at active-4.com>:
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.
components: Library (Lib)
nosy: aronacher, georg.brandl
stage: patch review
title: http.server Header Unicode Bug
Added file: http://bugs.python.org/file20486/http-server-unicode.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce