This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author m.xhonneux
Recipients m.xhonneux
Date 2016-06-29.13:34:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467207276.94.0.887561217469.issue27414@psf.upfronthosting.co.za>
In-reply-to
Content
With Python 3.5, when I subclass SimpleHTTPRequestHandler, which itself subclasses BaseHTTPRequestHandler, and I try to access a non-existing file, the server responds with a 404 code, but send_error (see Lib/http/server.py, line 473) adds the Content-Length header with an int value, whereas all others functions convert this value to str (see lines 699, 761).

For consistency, all header values should be str.
History
Date User Action Args
2016-06-29 13:34:36m.xhonneuxsetrecipients: + m.xhonneux
2016-06-29 13:34:36m.xhonneuxsetmessageid: <1467207276.94.0.887561217469.issue27414@psf.upfronthosting.co.za>
2016-06-29 13:34:36m.xhonneuxlinkissue27414 messages
2016-06-29 13:34:36m.xhonneuxcreate