mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-11-02 00:32:36 +01:00
d8a693bf27
* Removes line length limit from Status Code Markdown This will make the data easier to use when we develop the API, it needs to be consistent, arbitrary new lines (especially in text format) will be a major issue, so some sort of workaround would have to be implemented, easier to simply fix the source files. * Removes line length limit from misc. Markdown files
37 lines
1007 B
Markdown
37 lines
1007 B
Markdown
---
|
|
set: 4
|
|
code: 431
|
|
title: Request Header Fields Too Large
|
|
references:
|
|
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE"
|
|
---
|
|
|
|
The server is unwilling to process the request because its header fields are too large. The request MAY be resubmitted after reducing the size of the request header fields.
|
|
|
|
It can be used both when the set of request header fields in total is too large, and when a single header field is at fault. In the latter case, the response representation SHOULD specify which header field was too large.
|
|
|
|
For example:
|
|
|
|
```
|
|
HTTP/1.1 431 Request Header Fields Too Large
|
|
Content-Type: text/html
|
|
|
|
<html>
|
|
<head>
|
|
<title>Request Header Fields Too Large</title>
|
|
</head>
|
|
<body>
|
|
<h1>Request Header Fields Too Large</h1>
|
|
<p>The "Example" header was too large.</p>
|
|
</body>
|
|
</html>
|
|
```
|
|
|
|
Responses with the 431 status code MUST NOT be stored by a cache.
|
|
|
|
---
|
|
|
|
* Source: [RFC6585 Section 5][1]
|
|
|
|
[1]: <http://tools.ietf.org/html/rfc6585#section-5>
|