- From: RFC Errata System <rfc-editor@rfc-editor.org>
- Date: Sun, 24 Mar 2024 11:33:18 -0700 (PDT)
- To: fielding@gbiv.com, mnot@mnot.net, julian.reschke@greenbytes.de, httpbis-ads@ietf.org, mnot@mnot.net, tpauly@apple.com
- Cc: benjamin.p.kallus.gr@dartmouth.edu, ietf-http-wg@w3.org, rfc-editor@rfc-editor.org
The following errata report has been submitted for RFC9110, "HTTP Semantics". -------------------------------------- You may review the report below and at: https://www.rfc-editor.org/errata/eid7870 -------------------------------------- Type: Technical Reported by: Ben Kallus <benjamin.p.kallus.gr@dartmouth.edu> Section: 8.6 Original Text ------------- Likewise, a sender MUST NOT forward a message with a Content-Length header field value that does not match the ABNF above, with one exception: a recipient of a Content-Length header field value consisting of the same decimal value repeated as a comma-separated list (e.g, "Content-Length: 42, 42") MAY either reject the message as invalid or replace that invalid field value with a single instance of the decimal value, since this likely indicates that a duplicate was generated or combined by an upstream message processor. Corrected Text -------------- Likewise, a sender MUST NOT send a message with a Content-Length header field value that does not match the ABNF above. A recipient of a Content-Length header field value consisting of the same decimal value repeated as a comma-separated list (e.g, "Content-Length: 42, 42") MAY either reject the message as invalid or replace that invalid field value with a single instance of the decimal value, since this likely indicates that a duplicate was generated or combined by an upstream message processor. Notes ----- This change aims to fix 2 issues with the text: Issue #1 Recall the following from section 8.6: > Likewise, a sender MUST NOT forward a message with a Content-Length header field value that does not match the ABNF above, ... It wasn't immediately clear to me which of these was the intended meaning: 1. Upon receipt of a message with an invalid Content-Length value, senders MUST NOT forward the message. 2. Upon receipt of a message with an invalid Content-Length value, senders MUST NOT forward the message with the invalid value intact. Mark Nottingham confirmed on GitHub that the intended meaning is option 2: https://github.com/httpwg/http-core/issues/1113#issuecomment-1937914210 I propose that the word "forward" be changed to "send" to clear up the ambiguity. Issue #2 We've just established that the intended meaning of the first half of the sentence in question is that malformed CL header values MUST NOT be forwarded intact. An exception to this rule is (by definition) a situation in which invalid CL header values *are* permitted to be forwarded intact. The "exception" described in the text does not allow for invalid header values to be forwarded intact, so it is a misuse of the word "exception." To clear this up, I propose that the sentence be split in two, and that the word "exception" be removed. Instructions: ------------- This erratum is currently posted as "Reported". (If it is spam, it will be removed shortly by the RFC Production Center.) Please use "Reply All" to discuss whether it should be verified or rejected. When a decision is reached, the verifying party will log in to change the status and edit the report, if necessary. -------------------------------------- RFC9110 (draft-ietf-httpbis-semantics-19) -------------------------------------- Title : HTTP Semantics Publication Date : June 2022 Author(s) : R. Fielding, Ed., M. Nottingham, Ed., J. Reschke, Ed. Category : INTERNET STANDARD Source : HTTP Stream : IETF Verifying Party : IESG
Received on Sunday, 24 March 2024 18:33:26 UTC