diff options
| author | Simon 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) |
| commit | 7bf0ac10f666c753c57401887c478693233caf5f (patch) | |
| tree | 5ed2656e89480ce333cb6c52ca83a1079150ab22 /src/http.c | |
| parent | 2a1e51abffd03ed292056deea24f71960628a664 (diff) | |
| download | powder-7bf0ac10f666c753c57401887c478693233caf5f.zip powder-7bf0ac10f666c753c57401887c478693233caf5f.tar.gz | |
Add some potential HTTP response codes
Diffstat (limited to 'src/http.c')
| -rw-r--r-- | src/http.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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"; |
