The http.HTTPStatus class provides constants for most of the HTTP status codes.
Status code 421 was added by the RFC 7540 (HTTP/2), and is not part of this class. It is described as follows:
The 421 (Misdirected Request) status code indicates that the request
was directed at a server that is not able to produce a response.
This can be sent by a server that is not configured to produce
responses for the combination of scheme and authority that are
included in the request URI.
Would it be possible to create the corresponding constant in http.HTTPStatus?
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
The text was updated successfully, but these errors were encountered: