4×× Client Error

411 Length Required

El servidor se niega a aceptar la solicitud sin un Content-Length definido1.

El cliente PUEDE repetir la solicitud si agrega un campo de encabezado Content-Length válido que contenga la longitud del cuerpo del mensaje en el mensaje de solicitud.



411 Code References

  • .NET HTTP Status Enum HttpStatusCode.LengthRequired
  • Rust HTTP Status Constant http::StatusCode::LENGTH_REQUIRED
  • Rails HTTP Status Symbol :length_required
  • Go HTTP Status Constant http.StatusLengthRequired
  • Symfony HTTP Status Constant Response::HTTP_LENGTH_REQUIRED
  • Python2 HTTP Status Constant httplib.LENGTH_REQUIRED
  • Python3+ HTTP Status Constant http.client.LENGTH_REQUIRED
  • Python3.5+ HTTP Status Constant http.HTTPStatus.LENGTH_REQUIRED
HTTP Status Codes