[issue11442] list_directory() in SimpleHTTPServer.py should add charset=... to Content-type header

Tom N report at bugs.python.org
Thu Mar 17 01:18:45 CET 2011


Tom N <tom at tomn.co.uk> added the comment:

I have backported the code from python 3, to apply to the current 2.7 branch. All tests pass, and my machine reports "Content-type: text/html; charset=UTF-8", which appears to be correct.

----------
keywords: +patch
nosy: +Tom.N
Added file: http://bugs.python.org/file21255/SimpleHTTPServer-fix-2.7.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11442>
_______________________________________


More information about the Python-bugs-list mailing list