Metraipolis › HTTP clauses › rfc9112-s6.3-c2

RFC 9112 §6.3 — Message Body Length

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

Official text

3. If a message is received with both a Transfer-Encoding and a Content-Length header field, the Transfer-Encoding overrides the Content-Length. Such a message might indicate an attempt to perform request smuggling (Section 11.2) or response splitting (Section 11.1) and ought to be handled as an error. An intermediary that chooses to forward the message MUST first remove the received Content-Length field and process the Transfer-Encoding (as described below) prior to forwarding the message downstream.

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-6.3-2.3
Stable URL of this page
https://metraipolis.com/clausola/rfc9112-s6.3-c2

How to cite

RFC 9112, HTTP/1.1, Section 6.3 (Message Body Length), https://www.rfc-editor.org/rfc/rfc9112.html#section-6.3-2.3; clause rfc9112-s6.3-c2: https://metraipolis.com/clausola/rfc9112-s6.3-c2
BibTeX
@misc{rfc9112s63,
  title = {RFC 9112: HTTP/1.1, Section 6.3},
  howpublished = {RFC Editor},
  url = {https://www.rfc-editor.org/rfc/rfc9112.html#section-6.3-2.3},
  note = {Clause rfc9112-s6.3-c2; https://metraipolis.com/clausola/rfc9112-s6.3-c2}
}

Summary (ours, not RFC text)

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

Conditions

None recorded.

Exceptions

None recorded.

Related clauses