411
Length Required
Client Error
Description
The request did not specify the length of its content
Common Usage
Server requires Content-Length header
Example Response
How this status code appears in HTTP responses
HTTP Response Header
HTTP/1.1 411 Length RequiredcURL Example
curl -I https://example.com
# Returns: HTTP/1.1 411 Length RequiredClient Error Response
This is a client error response indicating the request contains bad syntax or cannot be fulfilled.
Related Client Error Codes
Other codes in the same category