[issue10980] http.server Header Unicode Bug

2012-09-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: accepted -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue10980] http.server Header Unicode Bug

2011-11-18 Thread Armin Ronacher
Armin Ronacher added the comment: 2.7 does not suffer from this since 2.7 does not support unicode in headers. -- ___ Python tracker ___

[issue10980] http.server Header Unicode Bug

2011-11-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10980] http.server Header Unicode Bug

2011-11-18 Thread Ezio Melotti
Ezio Melotti added the comment: Now it's too late for 3.1, should this still go to 2.7? -- nosy: +ezio.melotti versions: -Python 3.1 ___ Python tracker ___

[issue10980] http.server Header Unicode Bug

2011-01-22 Thread Éric Araujo
Éric Araujo added the comment: I think so. -- nosy: +benjamin.peterson, eric.araujo, orsenthil resolution: -> accepted stage: patch review -> commit review versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue10980] http.server Header Unicode Bug

2011-01-22 Thread Georg Brandl
Georg Brandl added the comment: Armin committed the patch in r88142 and followed up with r88143 for the http.client library. Needs backporting? -- ___ Python tracker ___ _

[issue10980] http.server Header Unicode Bug

2011-01-22 Thread Armin Ronacher
Armin Ronacher added the comment: Georg Brandl signed off the commit and Python 3.2 will ship with the HTTP server accepting latin1 bytes. -- ___ Python tracker ___ ___

[issue10980] http.server Header Unicode Bug

2011-01-22 Thread STINNER Victor
STINNER Victor added the comment: RFC 5987 (Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters), August 2010: http://greenbytes.de/tech/webdav/rfc5987.html#language.specification.in.encoded.words << 3.3 Language Specification in Encoded Words Se

[issue10980] http.server Header Unicode Bug

2011-01-22 Thread STINNER Victor
STINNER Victor added the comment: Extract of PEP : << Note also that strings passed to start_response() as a status or as response headers must follow RFC 2616 with respect to encoding. That is, they must either be ISO-8859-1 characters, or use RFC 2047 MIME encoding. >> What is the best

[issue10980] http.server Header Unicode Bug

2011-01-22 Thread Armin Ronacher
New submission from Armin Ronacher : 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 which demands that latin1 is used.