mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-11-02 00:32:36 +01:00
62df9e637c
* Add Python status constants * Add Python 2, Python 3+, Python 3.5+ status constants
25 lines
980 B
Markdown
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>
|