diff --git a/.github/http-status-codes.txt b/.github/http-status-codes.txt index 09d4264..19e3528 100644 --- a/.github/http-status-codes.txt +++ b/.github/http-status-codes.txt @@ -1,7 +1,7 @@ Hypertext Transfer Protocol (HTTP) Status Code Registry Last Updated - 2018-09-21 + 2021-12-22 Available Formats [IMG] @@ -11,7 +11,7 @@ Registry included below - * HTTP Status Codes + * HTTP Status Codes HTTP Status Codes @@ -20,7 +20,7 @@ HTTP Status Codes IETF Review Reference - [RFC7231] + [RFC-ietf-httpbis-semantics, Section 16.2.1] Note @@ -35,59 +35,60 @@ HTTP Status Codes [IMG] CSV - Value Description Reference - 100 Continue [RFC7231, Section 6.2.1] - 101 Switching Protocols [RFC7231, Section 6.2.2] + Value Description Reference + 100 Continue [RFC-ietf-httpbis-semantics, Section 15.2.1] + 101 Switching Protocols [RFC-ietf-httpbis-semantics, Section 15.2.2] 102 Processing [RFC2518] 103 Early Hints [RFC8297] 104-199 Unassigned - 200 OK [RFC7231, Section 6.3.1] - 201 Created [RFC7231, Section 6.3.2] - 202 Accepted [RFC7231, Section 6.3.3] - 203 Non-Authoritative Information [RFC7231, Section 6.3.4] - 204 No Content [RFC7231, Section 6.3.5] - 205 Reset Content [RFC7231, Section 6.3.6] - 206 Partial Content [RFC7233, Section 4.1] + 200 OK [RFC-ietf-httpbis-semantics, Section 15.3.1] + 201 Created [RFC-ietf-httpbis-semantics, Section 15.3.2] + 202 Accepted [RFC-ietf-httpbis-semantics, Section 15.3.3] + 203 Non-Authoritative Information [RFC-ietf-httpbis-semantics, Section 15.3.4] + 204 No Content [RFC-ietf-httpbis-semantics, Section 15.3.5] + 205 Reset Content [RFC-ietf-httpbis-semantics, Section 15.3.6] + 206 Partial Content [RFC-ietf-httpbis-semantics, Section 15.3.7] 207 Multi-Status [RFC4918] 208 Already Reported [RFC5842] 209-225 Unassigned 226 IM Used [RFC3229] 227-299 Unassigned - 300 Multiple Choices [RFC7231, Section 6.4.1] - 301 Moved Permanently [RFC7231, Section 6.4.2] - 302 Found [RFC7231, Section 6.4.3] - 303 See Other [RFC7231, Section 6.4.4] - 304 Not Modified [RFC7232, Section 4.1] - 305 Use Proxy [RFC7231, Section 6.4.5] - 306 (Unused) [RFC7231, Section 6.4.6] - 307 Temporary Redirect [RFC7231, Section 6.4.7] - 308 Permanent Redirect [RFC7538] + 300 Multiple Choices [RFC-ietf-httpbis-semantics, Section 15.4.1] + 301 Moved Permanently [RFC-ietf-httpbis-semantics, Section 15.4.2] + 302 Found [RFC-ietf-httpbis-semantics, Section 15.4.3] + 303 See Other [RFC-ietf-httpbis-semantics, Section 15.4.4] + 304 Not Modified [RFC-ietf-httpbis-semantics, Section 15.4.5] + 305 Use Proxy [RFC-ietf-httpbis-semantics, Section 15.4.6] + 306 (Unused) [RFC-ietf-httpbis-semantics, Section 15.4.7] + 307 Temporary Redirect [RFC-ietf-httpbis-semantics, Section 15.4.8] + 308 Permanent Redirect [RFC-ietf-httpbis-semantics, Section 15.4.9] 309-399 Unassigned - 400 Bad Request [RFC7231, Section 6.5.1] - 401 Unauthorized [RFC7235, Section 3.1] - 402 Payment Required [RFC7231, Section 6.5.2] - 403 Forbidden [RFC7231, Section 6.5.3] - 404 Not Found [RFC7231, Section 6.5.4] - 405 Method Not Allowed [RFC7231, Section 6.5.5] - 406 Not Acceptable [RFC7231, Section 6.5.6] - 407 Proxy Authentication Required [RFC7235, Section 3.2] - 408 Request Timeout [RFC7231, Section 6.5.7] - 409 Conflict [RFC7231, Section 6.5.8] - 410 Gone [RFC7231, Section 6.5.9] - 411 Length Required [RFC7231, Section 6.5.10] - 412 Precondition Failed [RFC7232, Section 4.2][RFC8144, Section 3.2] - 413 Payload Too Large [RFC7231, Section 6.5.11] - 414 URI Too Long [RFC7231, Section 6.5.12] - 415 Unsupported Media Type [RFC7231, Section 6.5.13][RFC7694, Section 3] - 416 Range Not Satisfiable [RFC7233, Section 4.4] - 417 Expectation Failed [RFC7231, Section 6.5.14] - 418-420 Unassigned - 421 Misdirected Request [RFC7540, Section 9.1.2] - 422 Unprocessable Entity [RFC4918] + 400 Bad Request [RFC-ietf-httpbis-semantics, Section 15.5.1] + 401 Unauthorized [RFC-ietf-httpbis-semantics, Section 15.5.2] + 402 Payment Required [RFC-ietf-httpbis-semantics, Section 15.5.3] + 403 Forbidden [RFC-ietf-httpbis-semantics, Section 15.5.4] + 404 Not Found [RFC-ietf-httpbis-semantics, Section 15.5.5] + 405 Method Not Allowed [RFC-ietf-httpbis-semantics, Section 15.5.6] + 406 Not Acceptable [RFC-ietf-httpbis-semantics, Section 15.5.7] + 407 Proxy Authentication Required [RFC-ietf-httpbis-semantics, Section 15.5.8] + 408 Request Timeout [RFC-ietf-httpbis-semantics, Section 15.5.9] + 409 Conflict [RFC-ietf-httpbis-semantics, Section 15.5.10] + 410 Gone [RFC-ietf-httpbis-semantics, Section 15.5.11] + 411 Length Required [RFC-ietf-httpbis-semantics, Section 15.5.12] + 412 Precondition Failed [RFC-ietf-httpbis-semantics, Section 15.5.13] + 413 Content Too Large [RFC-ietf-httpbis-semantics, Section 15.5.14] + 414 URI Too Long [RFC-ietf-httpbis-semantics, Section 15.5.15] + 415 Unsupported Media Type [RFC-ietf-httpbis-semantics, Section 15.5.16] + 416 Range Not Satisfiable [RFC-ietf-httpbis-semantics, Section 15.5.17] + 417 Expectation Failed [RFC-ietf-httpbis-semantics, Section 15.5.18] + 418 (Unused) [RFC-ietf-httpbis-semantics, Section 15.5.19] + 419-420 Unassigned + 421 Misdirected Request [RFC-ietf-httpbis-semantics, Section 15.5.20] + 422 Unprocessable Content [RFC-ietf-httpbis-semantics, Section 15.5.21] 423 Locked [RFC4918] 424 Failed Dependency [RFC4918] 425 Too Early [RFC8470] - 426 Upgrade Required [RFC7231, Section 6.5.15] + 426 Upgrade Required [RFC-ietf-httpbis-semantics, Section 15.5.22] 427 Unassigned 428 Precondition Required [RFC6585] 429 Too Many Requests [RFC6585] @@ -96,16 +97,16 @@ HTTP Status Codes 432-450 Unassigned 451 Unavailable For Legal Reasons [RFC7725] 452-499 Unassigned - 500 Internal Server Error [RFC7231, Section 6.6.1] - 501 Not Implemented [RFC7231, Section 6.6.2] - 502 Bad Gateway [RFC7231, Section 6.6.3] - 503 Service Unavailable [RFC7231, Section 6.6.4] - 504 Gateway Timeout [RFC7231, Section 6.6.5] - 505 HTTP Version Not Supported [RFC7231, Section 6.6.6] + 500 Internal Server Error [RFC-ietf-httpbis-semantics, Section 15.6.1] + 501 Not Implemented [RFC-ietf-httpbis-semantics, Section 15.6.2] + 502 Bad Gateway [RFC-ietf-httpbis-semantics, Section 15.6.3] + 503 Service Unavailable [RFC-ietf-httpbis-semantics, Section 15.6.4] + 504 Gateway Timeout [RFC-ietf-httpbis-semantics, Section 15.6.5] + 505 HTTP Version Not Supported [RFC-ietf-httpbis-semantics, Section 15.6.6] 506 Variant Also Negotiates [RFC2295] 507 Insufficient Storage [RFC4918] 508 Loop Detected [RFC5842] 509 Unassigned - 510 Not Extended [RFC2774] + 510 Not Extended (OBSOLETED) [RFC2774][status-change-http-experiments-to-historic] 511 Network Authentication Required [RFC6585] - 512-599 Unassigned + 512-599 Unassigned \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a8d522b..5502aa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,15 @@ This changelog follows the [Keep a Changelog](http://keepachangelog.com) format. --- +## Unreleased ## + +### Changed ### +- [#21] Code `NotExtended` (510) is marked as obsoleted. + + +--- + + ## [1.4.0] - 2021-11-05 ## Updates and adds missing status codes from the IANA registry. diff --git a/HttpStatusCodes_C++.h b/HttpStatusCodes_C++.h index 3ea4cbc..7e234fe 100644 --- a/HttpStatusCodes_C++.h +++ b/HttpStatusCodes_C++.h @@ -111,7 +111,8 @@ enum Code VariantAlsoNegotiates = 506, //!< Indicates that the server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process. InsufficientStorage = 507, //!< Means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request. LoopDetected = 508, //!< Indicates that the server terminated an operation because it encountered an infinite loop while processing a request with "Depth: infinity". [RFC 5842] - NotExtended = 510, //!< The policy for accessing the resource has not been met in the request. [RFC 2774] + NotExtended = 510, //!< \deprecated \parblock Obsoleted as the experiment has ended and there is no evidence of widespread use. \endparblock + //!< The policy for accessing the resource has not been met in the request. [RFC 2774] NetworkAuthenticationRequired = 511, //!< Indicates that the client needs to authenticate to gain network access. xxx_max = 1023 diff --git a/HttpStatusCodes_C++11.h b/HttpStatusCodes_C++11.h index 86831fe..f93f6ab 100644 --- a/HttpStatusCodes_C++11.h +++ b/HttpStatusCodes_C++11.h @@ -111,7 +111,8 @@ enum class Code VariantAlsoNegotiates = 506, //!< Indicates that the server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process. InsufficientStorage = 507, //!< Means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request. LoopDetected = 508, //!< Indicates that the server terminated an operation because it encountered an infinite loop while processing a request with "Depth: infinity". [RFC 5842] - NotExtended = 510, //!< The policy for accessing the resource has not been met in the request. [RFC 2774] + NotExtended = 510, //!< \deprecated \parblock Obsoleted as the experiment has ended and there is no evidence of widespread use. \endparblock + //!< The policy for accessing the resource has not been met in the request. [RFC 2774] NetworkAuthenticationRequired = 511, //!< Indicates that the client needs to authenticate to gain network access. xxx_max = 1023 diff --git a/HttpStatusCodes_C.h b/HttpStatusCodes_C.h index df8a16d..18aa4d2 100644 --- a/HttpStatusCodes_C.h +++ b/HttpStatusCodes_C.h @@ -104,7 +104,8 @@ enum HttpStatus_Code HttpStatus_VariantAlsoNegotiates = 506, /*!< Indicates that the server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process. */ HttpStatus_InsufficientStorage = 507, /*!< Means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request. */ HttpStatus_LoopDetected = 508, /*!< Indicates that the server terminated an operation because it encountered an infinite loop while processing a request with "Depth: infinity". [RFC 5842] */ - HttpStatus_NotExtended = 510, /*!< The policy for accessing the resource has not been met in the request. [RFC 2774] */ + HttpStatus_NotExtended = 510, /*!< \deprecated \parblock Obsoleted as the experiment has ended and there is no evidence of widespread use. \endparblock + The policy for accessing the resource has not been met in the request. [RFC 2774] */ HttpStatus_NetworkAuthenticationRequired = 511, /*!< Indicates that the client needs to authenticate to gain network access. */ HttpStatus_xxx_max = 1023 diff --git a/HttpStatusCodes_Qt.h b/HttpStatusCodes_Qt.h index 46ff209..f735ac2 100644 --- a/HttpStatusCodes_Qt.h +++ b/HttpStatusCodes_Qt.h @@ -120,7 +120,8 @@ enum Code VariantAlsoNegotiates = 506, //!< Indicates that the server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process. InsufficientStorage = 507, //!< Means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request. LoopDetected = 508, //!< Indicates that the server terminated an operation because it encountered an infinite loop while processing a request with "Depth: infinity". [RFC 5842] - NotExtended = 510, //!< The policy for accessing the resource has not been met in the request. [RFC 2774] + NotExtended = 510, //!< \deprecated \parblock Obsoleted as the experiment has ended and there is no evidence of widespread use. \endparblock + //!< The policy for accessing the resource has not been met in the request. [RFC 2774] NetworkAuthenticationRequired = 511, //!< Indicates that the client needs to authenticate to gain network access. xxx_max = 1023