httpstatuses/contents/codes/414.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

1.5 KiB

set code title references
4 414 Request-URI Too Long
Rails HTTP Status Symbol Go HTTP Status Constant Symfony HTTP Status Constant Python2 HTTP Status Constant Python3+ HTTP Status Constant Python3.5+ HTTP Status Constant
:request_uri_too_long http.StatusRequestURITooLong Response::HTTP_REQUEST_URI_TOO_LONG httplib.REQUEST_URI_TOO_LONG http.client.REQUEST_URI_TOO_LONG http.HTTPStatus.REQUEST_URI_TOO_LONG

The server is refusing to service the request because the request-target1 is longer than the server is willing to interpret.

This rare condition is only likely to occur when a client has improperly converted a POST request to a GET request with long query information, when the client has descended into a "black hole" of redirection (e.g., a redirected URI prefix that points to a suffix of itself) or when the server is under attack by a client attempting to exploit potential security holes.

A 414 response is cacheable by default; i.e., unless otherwise indicated by the method definition or explicit cache controls 2.