httpstatuses/contents/codes/411.md

18 lines
569 B
Markdown

---
set: 4
code: 411
title: Length Required
references:
"Rails HTTP Status Symbol": ":length_required"
---
The 411 (Length Required) status code indicates that the server refuses to
accept the request without a defined Content-Length
([Section 3.3.2 of RFC7230][2]). The client MAY repeat the request if it adds a
valid Content-Length header field containing the length of the message body in
the request message.
Source: [RFC7231 Section 6.5.10][1]
[1]: <http://tools.ietf.org/html/rfc7231#section-6.5.10>
[2]: <http://tools.ietf.org/html/rfc7230#section-3.3.2>