Metraipolis › HTTP clauses › rfc9112-s2.2-c9

RFC 9112 §2.2 — Message Parsing

HTTP/1.1 · status: INTERNET STANDARD · keyword: MUST · addressee: recipient

Official text

A recipient that receives whitespace between the start-line and the first header field MUST either reject the message as invalid or consume each whitespace-preceded line without further processing of it (i.e., ignore the entire line, along with any subsequent lines preceded by whitespace, until a properly formed header field is received or the header section is terminated). Rejection or removal of invalid whitespace-preceded lines is necessary to prevent their misinterpretation by downstream recipients that might be vulnerable to request smuggling (Section 11.2) or response splitting (Section 11.1) attacks.

Verbatim from the official RFC text, whitespace preserved. Copyright (c) IETF Trust and the persons identified as the document authors; IETF Trust Legal Provisions.

Official source
https://www.rfc-editor.org/rfc/rfc9112.html#section-2.2-8
Stable URL of this page
https://metraipolis.com/clausola/rfc9112-s2.2-c9

How to cite

RFC 9112, HTTP/1.1, Section 2.2 (Message Parsing), https://www.rfc-editor.org/rfc/rfc9112.html#section-2.2-8; clause rfc9112-s2.2-c9: https://metraipolis.com/clausola/rfc9112-s2.2-c9
BibTeX
@misc{rfc9112s22,
  title = {RFC 9112: HTTP/1.1, Section 2.2},
  howpublished = {RFC Editor},
  url = {https://www.rfc-editor.org/rfc/rfc9112.html#section-2.2-8},
  note = {Clause rfc9112-s2.2-c9; https://metraipolis.com/clausola/rfc9112-s2.2-c9}
}

Summary (ours, not RFC text)

This requirement concerns message parsing in RFC 9112. Its recorded addressee is recipient; use the excerpt and official paragraph to determine the exact obligation.

Conditions

None recorded.

Exceptions

None recorded.

Related clauses