Add some potential HTTP response codes

This commit is contained in:
Simon Robertshaw 2011-05-24 19:57:08 +01:00
parent 2a1e51abff
commit 7bf0ac10f6

View File

@ -830,6 +830,8 @@ char *http_ret_text(int ret)
return "Requested Range Not Satisfiable";
case 417:
return "Expectation Failed";
case 418:
return "I'm a teapot";
case 422:
return "Unprocessable Entity";
case 423:
@ -840,6 +842,12 @@ char *http_ret_text(int ret)
return "Unordered Collection";
case 426:
return "Upgrade Required";
case 444:
return "No Response";
case 450:
return "Blocked by Windows Parental Controls";
case 499:
return "Client Closed Request";
case 500:
return "Internal Server Error";