[issue20898] Missing 507 response description

Martin Panter report at bugs.python.org
Tue Jan 20 06:38:29 CET 2015


Martin Panter added the comment:

Just noticed the new documentation says “http.HTTPStatus.OK is also available as . . . http.server.OK”. I think this is wrong; only the client module (and now the top-level package) have those constants. The enum values are only available in the server module via http.server.BaseHTTPRequestHandler.responses.keys() as far as I can tell.

----------

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


More information about the Python-bugs-list mailing list