From e1678b1801649e7e6cab84e92ffcb61d82cdd000 Mon Sep 17 00:00:00 2001 From: Vikram Rajkumar Date: Mon, 19 Jan 2015 17:38:28 -0500 Subject: [PATCH] Add missing default HTTP response --- src/network/http/http_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/http/http_server.cpp b/src/network/http/http_server.cpp index e0dd9b6..648fc54 100644 --- a/src/network/http/http_server.cpp +++ b/src/network/http/http_server.cpp @@ -25,7 +25,7 @@ namespace fc { namespace http { case fc::http::reply::RecordCreated: ss << "Record Created\r\n"; break; case fc::http::reply::NotFound: ss << "Not Found\r\n"; break; case fc::http::reply::Found: ss << "Found\r\n"; break; - case fc::http::reply::InternalServerError: ss << "Internal Server Error\r\n"; break; + default: ss << "Internal Server Error\r\n"; break; } for( uint32_t i = 0; i < rep.headers.size(); ++i ) { ss << rep.headers[i].key <<": "<