Metraipolis › HTTP clauses › rfc9110-s8.6-c7
RFC 9110 §8.6 — Content-Length
HTTP Semantics · status: INTERNET STANDARD · keyword: SHOULD · addressee: origin server
Official text
Aside from the cases defined above, in the absence of Transfer- Encoding, an origin server SHOULD send a Content-Length header field when the content size is known prior to sending the complete header section. This will allow downstream recipients to measure transfer progress, know when a received message is complete, and potentially reuse the connection for additional requests.
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/rfc9110.html#section-8.6-9
- Stable URL of this page
https://metraipolis.com/clausola/rfc9110-s8.6-c7
How to cite
RFC 9110, HTTP Semantics, Section 8.6 (Content-Length), https://www.rfc-editor.org/rfc/rfc9110.html#section-8.6-9; clause rfc9110-s8.6-c7: https://metraipolis.com/clausola/rfc9110-s8.6-c7
BibTeX
@misc{rfc9110s86,
title = {RFC 9110: HTTP Semantics, Section 8.6},
howpublished = {RFC Editor},
url = {https://www.rfc-editor.org/rfc/rfc9110.html#section-8.6-9},
note = {Clause rfc9110-s8.6-c7; https://metraipolis.com/clausola/rfc9110-s8.6-c7}
}Summary (ours, not RFC text)
This recommendation or permission concerns content-length in RFC 9110. Its recorded addressee is origin server; use the excerpt and official paragraph to determine the exact obligation.
Conditions
- in the absence of Transfer-Encoding
- when the content size is known prior to sending the complete header section
Exceptions
None recorded.
Related clauses
- rfc9110-s8.6-c1 (same_section)
- rfc9110-s8.6-c2 (same_section)
- rfc9110-s8.6-c3 (same_section)
- rfc9110-s8.6-c4 (same_section)
- rfc9110-s8.6-c5 (same_section)
- rfc9110-s8.6-c6 (same_section)
- rfc9110-s8.6-c8 (same_section)
- rfc9110-s8.6-c9 (same_section)
- rfc9110-s8.6-c10 (same_section)
- rfc9110-s9.3.6-c6 (referenced_by)
- rfc9110-s15.3.7.3-c3 (referenced_by)
- rfc9110-s15.4-c2 (referenced_by)