summaryrefslogtreecommitdiff
path: root/src/Http.cc
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-12-14 04:32:48 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-12-14 04:32:57 +0100
commit96be50597d948d8bfa5adb2dc0204bbc3b61b1dd (patch)
tree3dbc7b786aeea3d2ef9f931cfa46df99dfd4358a /src/Http.cc
parentc3085db4a169ea17f8bc5c0384b71846c5e7a7f9 (diff)
Adding HTTP error 418, as defined in RFC 2324.
Diffstat (limited to 'src/Http.cc')
-rw-r--r--src/Http.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Http.cc b/src/Http.cc
index 85adbfc..1a731b2 100644
--- a/src/Http.cc
+++ b/src/Http.cc
@@ -36,6 +36,7 @@ const char * Balau::Http::getStatusMsg(int httpStatus) {
case 415: return "Unsupported Media Type";
case 416: return "Requested Range Not Satisfiable";
case 417: return "Expectation Failed";
+ case 418: return "I'm a teapot";
case 500: return "Internal Error";
case 501: return "Not Implemented";
case 502: return "Bad Gateway";