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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20898>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to