summaryrefslogtreecommitdiff
path: root/src/http.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-05-24 18:57:08 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-05-24 18:57:08 (GMT)
commit7bf0ac10f666c753c57401887c478693233caf5f (patch)
tree5ed2656e89480ce333cb6c52ca83a1079150ab22 /src/http.c
parent2a1e51abffd03ed292056deea24f71960628a664 (diff)
downloadpowder-7bf0ac10f666c753c57401887c478693233caf5f.zip
powder-7bf0ac10f666c753c57401887c478693233caf5f.tar.gz
Add some potential HTTP response codes
Diffstat (limited to 'src/http.c')
-rw-r--r--src/http.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/http.c b/src/http.c
index e35e1c0..59e7131 100644
--- a/src/http.c
+++ b/src/http.c
@@ -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";