From d7b926c39c6c80d672c3a113df86312b2a5cdf92 Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Thu, 19 Dec 2013 19:07:50 +1030 Subject: [PATCH] HTTP server response codes 408, 409 --- http_server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http_server.c b/http_server.c index 0b401af8..e275de4c 100644 --- a/http_server.c +++ b/http_server.c @@ -1772,6 +1772,8 @@ static const char *httpResultString(int response_code) case 403: return "Forbidden"; case 404: return "Not Found"; case 405: return "Method Not Allowed"; + case 408: return "Request Timeout"; + case 409: return "Conflict"; case 411: return "Length Required"; case 414: return "Request-URI Too Long"; case 415: return "Unsupported Media Type";