mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-09-04 00:29:45 +02:00
* 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
869 B
869 B
set | code | title | references | ||||
---|---|---|---|---|---|---|---|
4 | 426 | Upgrade Required |
|
The server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.
The server MUST send an Upgrade header field in a 426 response to indicate the required protocol(s)1
Example:
HTTP/1.1 426 Upgrade Required
Upgrade: HTTP/3.0
Connection: Upgrade
Content-Length: 53
Content-Type: text/plain
This service requires use of the HTTP/3.0 protocol.
- 1 Upgrade RFC7230 Section 6.7
- Source: RFC7231 Section 6.5.15