Skip to content

Commit 907fe83

Browse files
ePaulPaul Ebermann
andauthored
Update RFC links in request and response header models (#832)
Co-authored-by: Paul Ebermann <paul@zalando.de>
1 parent acf0dc5 commit 907fe83

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
:RFC-7231: https://tools.ietf.org/html/rfc7231 // obsoleted by rfc-9110
4747
:RFC-7232: https://tools.ietf.org/html/rfc7232 // obsoleted by rfc-9110
4848
:RFC-7233: https://tools.ietf.org/html/rfc7233 // obsoleted by rfc-9110
49-
:RFC-7234: https://tools.ietf.org/html/rfc7234
49+
:RFC-7234: https://tools.ietf.org/html/rfc7234 // obsoleted by rfc-9111
5050
:RFC-7235: https://tools.ietf.org/html/rfc7235 // obsoleted by rfc-9110
5151
:RFC-7240: https://tools.ietf.org/html/rfc7240
5252
:RFC-7396: https://tools.ietf.org/html/rfc7396

models/request-headers-1.0.0.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ If-Match:
1717
outdated on arrival of the change request to prevent lost updates.
1818
1919
If the pre-condition fails the server will respond with status code `412`
20-
(Precondition Failed). For further details see [RFC 7232 Section
21-
3.1](https://tools.ietf.org/html/rfc7232#section-3.1).
20+
(Precondition Failed). For further details see [RFC 9110 Section
21+
13.1.1. If-Match](https://datatracker.ietf.org/doc/html/rfc9110#name-if-match)
22+
and [RFC 9111 Section 4.3.1 Sending a Validation Request](https://datatracker.ietf.org/doc/html/rfc9111#name-sending-a-validation-reques).
2223
schema:
2324
type: array
2425
items:
@@ -40,8 +41,9 @@ If-None-Match:
4041
of a resource. Other use cases are possible but rare.
4142
4243
If the pre-condition fails the server will respond with status code `412`
43-
(Precondition Failed). For further details see [RFC 7232 Section
44-
3.2](https://tools.ietf.org/html/rfc7232#section-3.2) for further details.
44+
(Precondition Failed). For further details see [RFC 9110 Section
45+
13.1.2](https://datatracker.ietf.org/doc/html/rfc9110#name-if-none-match)
46+
and [RFC 9111 Section 4.3.1 Sending a Validation Request](https://datatracker.ietf.org/doc/html/rfc9111#name-sending-a-validation-reques).
4547
schema:
4648
type: array
4749
items:

models/response-headers-1.0.0.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Cache-Control:
1111
The `Cache-Control` header field is providing directives to control how
1212
proxies and clients are allowed to cache responses results for performance.
1313
Clients and proxies are free to not support caching of results, however if
14-
they do, they must obey all directives mentioned in [RFC-7234 Section
15-
5.2.2](https://tools.ietf.org/html/rfc7234) to the word.
14+
they do, they must obey all directives mentioned in [RFC-9111 Section
15+
5.2.2](https://datatracker.ietf.org/doc/html/rfc9111#name-response-directives) to the word.
1616
1717
In case of caching, the directive provides the scope of the cache entry,
1818
i.e. only for the original user (private) or shared between all users
@@ -33,7 +33,8 @@ Vary:
3333
request target path, might have influence the server in selecting the
3434
presented response. A client or proxy that caches the response must respect
3535
this information to ensure that it delivers the correct cache entry (see
36-
[RFC-7231 Section 7.1.4](https://tools.ietf.org/html/rfc7231#section-7.1.4)).
36+
[RFC 9110 Section 12.5.5. Vary](https://datatracker.ietf.org/doc/html/rfc9110#name-vary)
37+
and [RFC 9111 Section 4.1 Calculating Cache Keys with the Vary Header Field](https://datatracker.ietf.org/doc/html/rfc9111#name-calculating-cache-keys-with)).
3738
3839
The value consists of either a single asterisk (`*`) or a list of
3940
case-insensitive header field names.
@@ -52,8 +53,9 @@ ETag:
5253
resource changes, and thereby enabling optimistic updates.
5354
5455
An identifier consists of an opaque quoted string, possibly prefixed by
55-
a weakness indicator. For further details see [RFC 7232 Section
56-
2.3](https://tools.ietf.org/html/rfc7232#section-2.3).
56+
a weakness indicator. For further details see [RFC 9110 Section
57+
8.8.3. ETag](https://datatracker.ietf.org/doc/html/rfc9110#name-etag) and
58+
[RFC 9111 Section 4.3.1 Sending a Validation Request](https://datatracker.ietf.org/doc/html/rfc9111#name-sending-a-validation-reques)
5759
schema:
5860
type: string
5961
example: 'W/"xy", "5", "5db68c06-1a68-11e9-8341-68f728c1ba70"''

0 commit comments

Comments
 (0)