[issue6278] http.server, BaseHTTPRequestHandler write string error

Amaury Forgeot d'Arc report at bugs.python.org
Mon Jun 15 09:38:47 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

the HTTP response should be a bytes string:
    self.wfile.write(b'test')

----------
nosy: +amaury.forgeotdarc
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list