411

Length Required

Summary

The server refuses the request because it lacks a Content-Length header.

When it occurs

Returned when a body is sent without a defined Content-Length.

How to fix

Related codes

Spec reference