From af6bc11fb4360ca8a1f244283e51065ee38ffc80 Mon Sep 17 00:00:00 2001 From: ipknHama Date: Thu, 17 Apr 2014 18:18:02 +0900 Subject: resolve linking problem --- http_response.h | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'http_response.h') diff --git a/http_response.h b/http_response.h index 9cbfd02..f0acd9e 100644 --- a/http_response.h +++ b/http_response.h @@ -4,28 +4,6 @@ namespace flask { - std::unordered_map statusCodes = { - {200, "HTTP/1.1 200 OK\r\n"}, - {201, "HTTP/1.1 201 Created\r\n"}, - {202, "HTTP/1.1 202 Accepted\r\n"}, - {204, "HTTP/1.1 204 No Content\r\n"}, - - {300, "HTTP/1.1 300 Multiple Choices\r\n"}, - {301, "HTTP/1.1 301 Moved Permanently\r\n"}, - {302, "HTTP/1.1 302 Moved Temporarily\r\n"}, - {304, "HTTP/1.1 304 Not Modified\r\n"}, - - {400, "HTTP/1.1 400 Bad Request\r\n"}, - {401, "HTTP/1.1 401 Unauthorized\r\n"}, - {403, "HTTP/1.1 403 Forbidden\r\n"}, - {404, "HTTP/1.1 404 Not Found\r\n"}, - - {500, "HTTP/1.1 500 Internal Server Error\r\n"}, - {501, "HTTP/1.1 501 Not Implemented\r\n"}, - {502, "HTTP/1.1 502 Bad Gateway\r\n"}, - {503, "HTTP/1.1 503 Service Unavailable\r\n"}, - }; - struct response { std::string body; -- cgit v1.2.3-54-g00ecf