@@ -339,6 +339,15 @@ and also the following constants for integer status codes:
339339| :const: `UPGRADE_REQUIRED ` | ``426 `` | HTTP Upgrade to TLS, |
340340| | | :rfc: `2817 `, Section 6 |
341341+------------------------------------------+---------+-----------------------------------------------------------------------+
342+ | :const: `PRECONDITION_REQUIRED ` | ``428 `` | Additional HTTP Status Codes, |
343+ | | | :rfc: `6585 `, Section 3 |
344+ +------------------------------------------+---------+-----------------------------------------------------------------------+
345+ | :const: `TOO_MANY_REQUESTS ` | ``429 `` | Additional HTTP Status Codes, |
346+ | | | :rfc: `6585 `, Section 4 |
347+ +------------------------------------------+---------+-----------------------------------------------------------------------+
348+ | :const: `REQUEST_HEADER_FIELDS_TOO_LARGE ` | ``431 `` | Additional HTTP Status Codes, |
349+ | | | :rfc: `6585 `, Section 5 |
350+ +------------------------------------------+---------+-----------------------------------------------------------------------+
342351| :const: `INTERNAL_SERVER_ERROR ` | ``500 `` | HTTP/1.1, `RFC 2616, Section |
343352| | | 10.5.1 |
344353| | | <http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1>`_ |
@@ -369,6 +378,12 @@ and also the following constants for integer status codes:
369378| :const: `NOT_EXTENDED ` | ``510 `` | An HTTP Extension Framework, |
370379| | | :rfc: `2774 `, Section 7 |
371380+------------------------------------------+---------+-----------------------------------------------------------------------+
381+ | :const: `NETWORK_AUTHENTICATION_REQUIRED ` | ``511 `` | Additional HTTP Status Codes, |
382+ | | | :rfc: `6585 `, Section 6 |
383+ +------------------------------------------+---------+-----------------------------------------------------------------------+
384+
385+ .. versionchanged :: 3.3
386+ Added codes ``428 ``, ``429 ``, ``431 `` and ``511 `` from :rfc: `6585 `.
372387
373388
374389.. data :: responses
0 commit comments