You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 7, 2025. It is now read-only.
The Deprecation HTTP response header field is used to signal to consumers of a URI-identified resource that the resource will be or has been deprecated. Additionally, the deprecation link relation can be used to link to a resource that provides additional information about planned or existing deprecation, and possibly ways in which clients can best manage deprecation.
51
+
The Deprecation HTTP response header field is used to signal to consumers of a resource (in the sense of [URI]) that the resource will be or has been deprecated. Additionally, the deprecation link relation can be used to link to a resource that provides additional information about planned or existing deprecation, and possibly ways in which clients can best manage deprecation.
52
52
53
53
54
54
--- middle
@@ -68,7 +68,7 @@ In addition to the Deprecation header field, the resource provider can use other
68
68
69
69
{::boilerplate bcp14-tagged}
70
70
71
-
This specification uses the Augmented Backus-Naur Form (ABNF) notation of {{!RFC5234}} and includes, by reference, the sf-date format as defined in [SFBIS].
71
+
This document uses the terminology from Section 3 of [SFBIS] to specify syntax and parsing of Date.
72
72
73
73
The term "resource" is to be interpreted as defined in {{Section 3.1 of HTTP}}.
74
74
@@ -85,8 +85,6 @@ Deprecation = sf-date
85
85
~~~
86
86
87
87
88
-
Servers MUST NOT include more than one `Deprecation` header field in the same response.
89
-
90
88
The date is the date when the resource was or will be deprecated. It is in the form of an Structured Field Date as defined in Section 3.3.7 of [SFBIS].
91
89
92
90
The following example shows that the resource context has been deprecated on Friday, June 30, 2023 at 23:59:59 GMT:
@@ -131,14 +129,6 @@ The following example uses the same link header field, but also announces a depr
131
129
132
130
Given that the deprecation date is in the past, the linked information resource may have been updated to include information about the deprecation, allowing consumers to discover information about the deprecation and how to best manage it.
133
131
134
-
### Security Considerations
135
-
136
-
The Deprecation header field SHOULD be treated as a hint, meaning that the resource is indicating (and not guaranteeing with certainty) that it will be or is deprecated. Applications consuming the resource SHOULD check the resource documentation to verify authenticity and accuracy. Resource documentation SHOULD provide additional information about the deprecation, potentially including recommendation(s) for replacement.
137
-
138
-
In cases where the Deprecation header field value is a date in the future, it can lead to information that otherwise might not be available. Therefore, applications consuming the resource SHOULD verify the resource documentation and if possible, consult the resource developer to discuss potential impact due to deprecation and plan for possible transition to recommended resource.
139
-
140
-
In cases where a `Link` header field is used to provide documentation, one should assume that the content of the `Link` header field may not be secure, private or integrity-guaranteed, and due caution should be exercised when using it. Applications consuming the resource SHOULD check the referred resource documentation to verify authenticity and accuracy.
141
-
142
132
143
133
# Sunset
144
134
@@ -204,6 +194,14 @@ The following example does not show complete HTTP interaction. It only shows tho
The Deprecation header field SHOULD be treated as a hint, meaning that the resource is indicating (and not guaranteeing with certainty) that it will be or is deprecated. Applications consuming the resource SHOULD check the resource documentation to verify authenticity and accuracy. Resource documentation SHOULD provide additional information about the deprecation, potentially including recommendation(s) for replacement.
200
+
201
+
In cases where the Deprecation header field value is a date in the future, it can lead to information that otherwise might not be available. Therefore, applications consuming the resource SHOULD verify the resource documentation and if possible, consult the resource developer to discuss potential impact due to deprecation and plan for possible transition to recommended resource.
202
+
203
+
In cases where a `Link` header field is used to provide documentation, one should assume that the content of the `Link` header field may not be secure, private or integrity-guaranteed, and due caution should be exercised when using it. Applications consuming the resource SHOULD check the referred resource documentation to verify authenticity and accuracy.
204
+
207
205
--- back
208
206
209
207
# Implementation Status
@@ -290,7 +288,9 @@ Organization: PayPal
290
288
291
289
This revision has made the following changes:
292
290
293
-
* Date format is changed from IMF-fixdate rule as defined in {{Section 5.6.7 of HTTP}} to Structured Field for Date as defined in Section 3.3.7 of [SFBIS].
291
+
* Changed 'URI-identified resource' to 'resource (in the sense of [URI])'
292
+
* Uses Notational Conventions for Structured Fields as suggested in HTTP Editorial Style Guide
293
+
* Security Considerations moved below the IANA Considerations
0 commit comments