diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-12-14 04:32:48 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-12-14 04:32:57 +0100 |
commit | 96be50597d948d8bfa5adb2dc0204bbc3b61b1dd (patch) | |
tree | 3dbc7b786aeea3d2ef9f931cfa46df99dfd4358a | |
parent | c3085db4a169ea17f8bc5c0384b71846c5e7a7f9 (diff) |
Adding HTTP error 418, as defined in RFC 2324.
-rw-r--r-- | src/Http.cc | 1 |
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"; |