411 Length Required
Tell me how big it is first.
What it properly means
The server rejected the request because it requires a Content-Length header and none was sent.
- Class
- 4xx Client error: you fucked up
- Defined in
- RFC 9110, section 15.5.12
Get one yourself
This endpoint really answers with 411. Point your client at it and see what it does.
curl -i https://httpcodes.dev/api/411