mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 19:00:33 +02:00
Add some potential HTTP response codes
This commit is contained in:
@@ -830,6 +830,8 @@ char *http_ret_text(int ret)
|
|||||||
return "Requested Range Not Satisfiable";
|
return "Requested Range Not Satisfiable";
|
||||||
case 417:
|
case 417:
|
||||||
return "Expectation Failed";
|
return "Expectation Failed";
|
||||||
|
case 418:
|
||||||
|
return "I'm a teapot";
|
||||||
case 422:
|
case 422:
|
||||||
return "Unprocessable Entity";
|
return "Unprocessable Entity";
|
||||||
case 423:
|
case 423:
|
||||||
@@ -840,6 +842,12 @@ char *http_ret_text(int ret)
|
|||||||
return "Unordered Collection";
|
return "Unordered Collection";
|
||||||
case 426:
|
case 426:
|
||||||
return "Upgrade Required";
|
return "Upgrade Required";
|
||||||
|
case 444:
|
||||||
|
return "No Response";
|
||||||
|
case 450:
|
||||||
|
return "Blocked by Windows Parental Controls";
|
||||||
|
case 499:
|
||||||
|
return "Client Closed Request";
|
||||||
|
|
||||||
case 500:
|
case 500:
|
||||||
return "Internal Server Error";
|
return "Internal Server Error";
|
||||||
|
Reference in New Issue
Block a user