status Registered
Verified 2026-09-18 · registry updated
2025-09-15HTTP 411 Length Required
The server requires a Content-Length header on the request.
Use 411 when the server cannot accept a request without a declared body length.
httpstatus coderequest headers
Response (http)
HTTP/1.1 411 Length Required
Use 411 when the server cannot accept a request without a declared body length.
Common mistakes
- Accepting requests with ambiguous or missing framing information instead of rejecting them.
Registry reference: RFC9110, Section 15.5.12