mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibHTTP: Add more reason phrases for 4xx response codes
https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
This commit is contained in:
parent
56971a4201
commit
63249ba96a
Notes:
github-actions[bot]
2025-03-14 00:24:45 +00:00
Author: https://github.com/rmg-x
Commit: 63249ba96a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3908
1 changed files with 10 additions and 0 deletions
|
@ -55,7 +55,17 @@ StringView HttpResponse::reason_phrase_for_code(int code)
|
||||||
{ 415, "Unsupported Media Type"sv },
|
{ 415, "Unsupported Media Type"sv },
|
||||||
{ 416, "Range Not Satisfiable"sv },
|
{ 416, "Range Not Satisfiable"sv },
|
||||||
{ 417, "Expectation Failed"sv },
|
{ 417, "Expectation Failed"sv },
|
||||||
|
{ 418, "I'm a teapot"sv },
|
||||||
|
{ 421, "Misdirected Request"sv },
|
||||||
|
{ 422, "Unprocessable Content"sv },
|
||||||
|
{ 423, "Locked"sv },
|
||||||
|
{ 424, "Failed Dependency"sv },
|
||||||
|
{ 425, "Too Early"sv },
|
||||||
{ 426, "Upgrade Required"sv },
|
{ 426, "Upgrade Required"sv },
|
||||||
|
{ 428, "Precondition Required"sv },
|
||||||
|
{ 429, "Too Many Requests"sv },
|
||||||
|
{ 431, "Request Header Fields Too Large"sv },
|
||||||
|
{ 451, "Unavailable For Legal Reasons"sv },
|
||||||
{ 500, "Internal Server Error"sv },
|
{ 500, "Internal Server Error"sv },
|
||||||
{ 501, "Not Implemented"sv },
|
{ 501, "Not Implemented"sv },
|
||||||
{ 502, "Bad Gateway"sv },
|
{ 502, "Bad Gateway"sv },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue