Skip to content

Commit d7ad23a

Browse files
Bastian Krolbasti1302
authored andcommitted
update references to RFC7230 to RFC9110
This addresses feedback from the IETF HTTP WG: "The defining document for HTTP is now RFC9110, not RFC7230; please update your references accordingly." The relevant sections in RFC9110 have no semantic changes in comparison to RFC7230 that affect this specification. fixes w3c#519
1 parent 89470e6 commit d7ad23a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/20-http_request_header_format.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,15 +256,15 @@ In order to increase interoperability across multiple protocols and encourage su
256256

257257
### tracestate Header Field Values
258258

259-
The `tracestate` field may contain any <a href="#opaque">opaque</a> value in any of the keys. Tracestate MAY be sent or received as multiple header fields. Multiple tracestate header fields MUST be handled as specified by <a data-cite='!RFC7230#field.order'>RFC7230 Section 3.2.2 Field Order</a>. The `tracestate` header SHOULD be sent as a single field when possible, but MAY be split into multiple header fields. When sending `tracestate` as multiple header fields, it MUST be split according to <a data-cite='!RFC7230#field.order'>RFC7230</a>. When receiving multiple `tracestate` header fields, they MUST be combined into a single header according to <a data-cite='!RFC7230#field.order'>RFC7230</a>.
259+
The `tracestate` field may contain any <a href="#opaque">opaque</a> value in any of the keys. Tracestate MAY be sent or received as multiple header fields. Multiple tracestate header fields MUST be handled as specified by <a data-cite='!RFC9110#field.order'>RFC9110 Section 5.3 Field Order</a>. The `tracestate` header SHOULD be sent as a single field when possible, but MAY be split into multiple header fields. When sending `tracestate` as multiple header fields, it MUST be split according to <a data-cite='!RFC9110#field.order'>RFC9110</a>. When receiving multiple `tracestate` header fields, they MUST be combined into a single header according to <a data-cite='!RFC9110#field.order'>RFC9110</a>.
260260

261-
This section uses the Augmented Backus-Naur Form (ABNF) notation of [[!RFC5234]], including the DIGIT rule in <a data-cite='!RFC5234#appendix-B.1'>appendix B.1 for RFC5234</a>. It also includes the `OWS` rule from <a data-cite='!RFC7230#whitespace'>RFC7230 section 3.2.3</a>.
261+
This section uses the Augmented Backus-Naur Form (ABNF) notation of [[!RFC5234]], including the DIGIT rule in <a data-cite='!RFC5234#appendix-B.1'>appendix B.1 for RFC5234</a>. It also includes the `OWS` rule from <a data-cite='!RFC9110#whitespace'>RFC9110 section 5.6.3</a>.
262262

263263
The `DIGIT` rule defines numbers `0`-`9`.
264264

265265
The `OWS` rule defines an optional whitespace character. To improve readability, it is used where zero or more whitespace characters might appear.
266266

267-
The caller SHOULD generate the optional whitespace as a single space; otherwise, a caller SHOULD NOT generate optional whitespace. See details in the <a data-cite='!RFC7230#whitespace'>corresponding RFC</a>.
267+
The caller SHOULD generate the optional whitespace as a single space; otherwise, a caller SHOULD NOT generate optional whitespace. See details in the <a data-cite='!RFC9110#whitespace'>corresponding RFC</a>.
268268

269269
The `tracestate` field value is a `list` of `list-members` separated by commas (`,`). A `list-member` is a key/value pair separated by an equals sign (`=`). Spaces and horizontal tabs surrounding `list-member`s are ignored. There can be a maximum of 32 `list-member`s in a `list`. If adding an entry would cause the `tracestate` list to contain more than 32 `list-members` the right-most `list-member` should be removed from the list.
270270

test/self_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def get_headers(self, name):
101101

102102
def get_header(self, name, commaSeparated = False):
103103
headers = self.get_headers(name)
104-
# https://tools.ietf.org/html/rfc7230#section-3.2
104+
# https://httpwg.org/specs/rfc9110.html#fields.values
105105
# remove the leading whitespace and trailing whitespace
106106
headers = map(lambda kv: kv[1].strip(' \t'), headers)
107107
headers = tuple(headers)

0 commit comments

Comments
 (0)