[issue22899] http.server.BaseHTTPRequestHandler.parse_request (TypeError: decoding str is not supported)
Ryan Chartier
report at bugs.python.org
Wed Nov 19 00:16:37 CET 2014
New submission from Ryan Chartier:
While the parse_request is handling the requestline, it tries to force the string into iso-8859-1 using an unsupported syntax.
Line #274 in server.py
requestline = str(self.raw_requestline, 'iso-8859-1')
Obviously, python complains.
TypeError: decoding str is not supported
I'm running python 3.4.2 and the line is present in the 3.4.2 source I downloaded from the python.org today.
That is all.
----------
messages: 231350
nosy: recharti
priority: normal
severity: normal
status: open
title: http.server.BaseHTTPRequestHandler.parse_request (TypeError: decoding str is not supported)
type: crash
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22899>
_______________________________________
More information about the Python-bugs-list
mailing list