httpstatuses/contents/codes/413.md
WALL-E 62df9e637c Add Python status constants (#57)
* Add Python status constants

* Add Python 2, Python 3+, Python 3.5+ status constants
2016-05-22 00:07:16 +01:00

25 lines
980 B
Markdown

---
set: 4
code: 413
title: Payload Too Large
references:
"Rails HTTP Status Symbol": ":request_entity_too_large"
"Go HTTP Status Constant": "http.StatusRequestEntityTooLarge"
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_ENTITY_TOO_LARGE"
"Python2 HTTP Status Constant": "httplib.REQUEST_ENTITY_TOO_LARGE"
"Python3+ HTTP Status Constant": "http.client.REQUEST_ENTITY_TOO_LARGE"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.REQUEST_ENTITY_TOO_LARGE"
---
The server is refusing to process a request because the request payload is larger than the server is willing or able to process.
The server MAY close the connection to prevent the client from continuing the request.
If the condition is temporary, the server SHOULD generate a Retry-After header field to indicate that it is temporary and after what time the client MAY try again.
---
* Source: [RFC7231 Section 6.5.11][1]
[1]: <http://tools.ietf.org/html/rfc7231#section-6.5.11>