From 936a756ca16272d02494f9f7077ffa51749760a3 Mon Sep 17 00:00:00 2001 From: ipknHama Date: Tue, 1 Apr 2014 22:58:52 +0900 Subject: multiple routing (still no argument) --- http_response.h | 1 + 1 file changed, 1 insertion(+) (limited to 'http_response.h') diff --git a/http_response.h b/http_response.h index 1221dd2..7927d6d 100644 --- a/http_response.h +++ b/http_response.h @@ -32,6 +32,7 @@ namespace flask std::string body; std::unordered_map headers; response() {} + response(int status) : status(status) {} response(const std::string& body) : body(body) {} response(std::string&& body) : body(std::move(body)) {} response(const std::string& body, int status) : body(body), status(status) {} -- cgit v1.2.3-54-g00ecf