411 Length Required
The server refuses the request without a Content-Length header.
Symptoms
- POST/PUT fails from some clients
- Custom clients rejected
Troubleshooting steps
- Ensure the request includes Content-Length
- For streaming, use Transfer-Encoding: chunked with proper framing
- Check if a proxy strips the Content-Length header