Back to all status codes

411

Length Required

Client Error
RFC 7231

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

Detailed Information

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

Common Examples

  • API requests with missing Content-Length
  • Form submissions with missing Content-Length

Common Uses

  • API requests with missing Content-Length
  • Form submissions with missing Content-Length

Best Practices

  • Use when the request requires a Content-Length header
  • Ensure proper request handling and Content-Length validation

Quick Actions

Category Information

Client Error

The request contains bad syntax or cannot be fulfilled

Available for Freelance

Fullstack developer specializing in React, Next.js, and Node.js. Let's build something amazing together!

Stay in the loop

Get notified about new tools and updates

HTTP Status Codes Reference - Complete List with Descriptions