Skip to content

Commit b330076

Browse files
committed
feat: Mark NotExtended (510) as obsoleted
1 parent 92333ec commit b330076

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ This changelog follows the [Keep a Changelog](http://keepachangelog.com) format.
1010
---
1111

1212

13+
## Unreleased ##
14+
15+
### Changed ###
16+
- [#21] Code `NotExtended` (510) is marked as obsoleted.
17+
18+
19+
---
20+
21+
1322
## [1.4.0] - 2021-11-05 ##
1423
Updates and adds missing status codes from the IANA registry.
1524

HttpStatusCodes_C++.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ enum Code
111111
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.
112112
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.
113113
LoopDetected = 508, //!< Indicates that the server terminated an operation because it encountered an infinite loop while processing a request with "Depth: infinity". [RFC 5842]
114-
NotExtended = 510, //!< The policy for accessing the resource has not been met in the request. [RFC 2774]
114+
NotExtended = 510, //!< \deprecated \parblock Obsoleted as the experiment has ended and there is no evidence of widespread use. \endparblock
115+
//!< The policy for accessing the resource has not been met in the request. [RFC 2774]
115116
NetworkAuthenticationRequired = 511, //!< Indicates that the client needs to authenticate to gain network access.
116117

117118
xxx_max = 1023

HttpStatusCodes_C++11.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ enum class Code
111111
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.
112112
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.
113113
LoopDetected = 508, //!< Indicates that the server terminated an operation because it encountered an infinite loop while processing a request with "Depth: infinity". [RFC 5842]
114-
NotExtended = 510, //!< The policy for accessing the resource has not been met in the request. [RFC 2774]
114+
NotExtended = 510, //!< \deprecated \parblock Obsoleted as the experiment has ended and there is no evidence of widespread use. \endparblock
115+
//!< The policy for accessing the resource has not been met in the request. [RFC 2774]
115116
NetworkAuthenticationRequired = 511, //!< Indicates that the client needs to authenticate to gain network access.
116117

117118
xxx_max = 1023

HttpStatusCodes_C.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ enum HttpStatus_Code
104104
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. */
105105
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. */
106106
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] */
107-
HttpStatus_NotExtended = 510, /*!< The policy for accessing the resource has not been met in the request. [RFC 2774] */
107+
HttpStatus_NotExtended = 510, /*!< \deprecated \parblock Obsoleted as the experiment has ended and there is no evidence of widespread use. \endparblock
108+
The policy for accessing the resource has not been met in the request. [RFC 2774] */
108109
HttpStatus_NetworkAuthenticationRequired = 511, /*!< Indicates that the client needs to authenticate to gain network access. */
109110

110111
HttpStatus_xxx_max = 1023

HttpStatusCodes_Qt.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ enum Code
120120
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.
121121
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.
122122
LoopDetected = 508, //!< Indicates that the server terminated an operation because it encountered an infinite loop while processing a request with "Depth: infinity". [RFC 5842]
123-
NotExtended = 510, //!< The policy for accessing the resource has not been met in the request. [RFC 2774]
123+
NotExtended = 510, //!< \deprecated \parblock Obsoleted as the experiment has ended and there is no evidence of widespread use. \endparblock
124+
//!< The policy for accessing the resource has not been met in the request. [RFC 2774]
124125
NetworkAuthenticationRequired = 511, //!< Indicates that the client needs to authenticate to gain network access.
125126

126127
xxx_max = 1023

0 commit comments

Comments
 (0)