From 96be50597d948d8bfa5adb2dc0204bbc3b61b1dd Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Wed, 14 Dec 2011 04:32:48 +0100 Subject: Adding HTTP error 418, as defined in RFC 2324. --- src/Http.cc | 1 + 1 file changed, 1 insertion(+) 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"; -- cgit v1.2.3