HTTP

411 Length Required

The server refuses to accept the request without a Content-Length header.

When You See This Code

When sending a request body without specifying Content-Length.

How to Fix

Include a Content-Length header in your request.

Specification

View RFC / Specification →