---
set: 4
code: 411
title: Length Required
references:
"Rails HTTP Status Symbol": ":length_required"
---
The server refuses to accept the request without a defined
Content-Length[1](#ref-1).
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.
---
* 1 Content-Length [RFC7230 Section 3.3.2][2]
* Source: [RFC7231 Section 6.5.10][1]
[1]:
[2]: