Message269488
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. |
|
Date |
User |
Action |
Args |
2016-06-29 13:34:36 | m.xhonneux | set | recipients:
+ m.xhonneux |
2016-06-29 13:34:36 | m.xhonneux | set | messageid: <1467207276.94.0.887561217469.issue27414@psf.upfronthosting.co.za> |
2016-06-29 13:34:36 | m.xhonneux | link | issue27414 messages |
2016-06-29 13:34:36 | m.xhonneux | create | |
|