411 Length Required

Explanation:

The 411 Length Required status code indicates that the server refuses to accept the request without a defined Content-Length header.

Usage:

This status code should be used when the server refuses to accept the request without a defined Content-Length header.

Attentions:

  • The server should include information about the required Content-Length in the response message if possible.
  • The response should not include a message body.

Sample:

undefined