From 4744e900545488691db076ed3f18919b1f0f9a82 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 26 Aug 2013 00:58:06 +0900 Subject: [PATCH] nghttpd: Include status code only in :status header field --- src/HttpServer.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/HttpServer.cc b/src/HttpServer.cc index a12bebd7..01e8e424 100644 --- a/src/HttpServer.cc +++ b/src/HttpServer.cc @@ -55,10 +55,10 @@ namespace nghttp2 { namespace { Config config; -const std::string STATUS_200 = "200 OK"; -const std::string STATUS_304 = "304 Not Modified"; -const std::string STATUS_400 = "400 Bad Request"; -const std::string STATUS_404 = "404 Not Found"; +const std::string STATUS_200 = "200"; +const std::string STATUS_304 = "304"; +const std::string STATUS_400 = "400"; +const std::string STATUS_404 = "404"; const std::string DEFAULT_HTML = "index.html"; const std::string NGHTTPD_SERVER = "nghttpd nghttp2/" NGHTTP2_VERSION; } // namespace