Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.

Commit d9ea359

Browse files
committed
incorporates @dret comments
1 parent a248acc commit d9ea359

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

draft-ietf-httpapi-deprecation-header.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ Deprecation = sf-date
8787

8888
Servers MUST NOT include more than one `Deprecation` header field in the same response.
8989

90-
The date is the date when the resource was or will be deprecated. It is in the form of an Structured Field Dates as defined in Section 3.3.7 of [SFBIS].
90+
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].
9191

92-
The following example shows that the resource context has been deprecated on Friday, November 24, 2023 at 23:59:59 GMT:
92+
The following example shows that the resource context has been deprecated on Friday, June 30, 2023 at 23:59:59 GMT:
9393

94-
Deprecation: @1700830799
94+
Deprecation: @1688169599
9595

9696
The deprecation date can be in the future. This means that the resource will be deprecated at the indicated date in the future.
9797

@@ -125,7 +125,7 @@ In this example the linked content provides additional information about depreca
125125

126126
The following example uses the same link header field, but also announces a deprecation date using a Deprecation header field:
127127

128-
Deprecation: @1700830799
128+
Deprecation: @1688169599
129129
Link: <https://developer.example.com/deprecation>;
130130
rel="deprecation"; type="text/html"
131131

@@ -138,10 +138,10 @@ In addition to the deprecation related information, if the resource provider wan
138138

139139
The timestamp given in the `Sunset` header field MUST NOT be earlier than the one given in the `Deprecation` header field.
140140

141-
The following example shows that the resource in context has been deprecated since Friday, November 24, 2023 at 23:59:59 GMT and its sunset date is Sunday, November 24, 2024 at 23:59:59 GMT.
141+
The following example shows that the resource in context has been deprecated since Friday, June 30, 2023 at 23:59:59 GMT and its sunset date is Sunday, June 30, 2024 at 23:59:59 GMT. Please note that for historical reasons the Sunset HTTP header field uses a different data type for date.
142142

143-
Deprecation: @1700830799
144-
Sunset: Sun, 24 Nov 2024 23:59:59 GMT
143+
Deprecation: @1688169599
144+
Sunset: Sun, 30 Jun 2024 23:59:59 GMT
145145

146146
# Resource Behavior
147147

@@ -284,12 +284,12 @@ The following examples do not show complete HTTP interactions. They only show th
284284

285285
The first example shows a deprecation header field with date information:
286286

287-
Deprecation: @1700830799
287+
Deprecation: @1688169599
288288

289289
The second example shows a deprecation header field with a link for the resource's deprecation policy. In addition, it shows the sunset date for the deprecated resource:
290290

291-
Deprecation: @1700830799
292-
Sunset: Sun, 24 Nov 2024 23:59:59 GMT
291+
Deprecation: @1688169599
292+
Sunset: Sun, 30 Jun 2024 23:59:59 GMT
293293
Link: <https://developer.example.com/deprecation>; rel="deprecation"
294294

295295

@@ -300,7 +300,7 @@ The second example shows a deprecation header field with a link for the resource
300300

301301
This revision has made the following changes:
302302

303-
* Date format is changed from IMF-fixdate rule as defined in {{Section 5.6.7 of HTTP}} to Structured Field for Dates as defined in Section 3.3.7 of [SFBIS].
303+
* 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].
304304

305305
# Acknowledgments
306306

0 commit comments

Comments
 (0)