Open
Description
Documentation
The HTTP module supports status codes that are unregistered/unofficial. Take http status code 418: I'm a teapot
Due to the save418 movement (https://save418.com/), python decided to preserve http code 418 in its codebase, but this documentation contradicts itself.
However, in the documentation, right above the table of status codes supported by the http library we have this:
Supported, IANA-registered status codes available in http.HTTPStatus are:
This is factually incorrect, because code 418, (among others) is not official, and this should either be edited to say:
"Supported Status Codes Available in http.httpStatus are:" or list exceptions.
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Todo