From 3b4bf01a7dd9e16f1df00c70b87a533a3cd17797 Mon Sep 17 00:00:00 2001 From: Antony Woods Date: Mon, 22 Sep 2014 21:34:22 +0100 Subject: URL params are now present as a ci_map variable of request --- include/http_request.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/http_request.h') diff --git a/include/http_request.h b/include/http_request.h index 331bc80..24edb66 100644 --- a/include/http_request.h +++ b/include/http_request.h @@ -20,6 +20,7 @@ namespace crow { HTTPMethod method; std::string url; + ci_map url_params; ci_map headers; std::string body; @@ -30,8 +31,8 @@ namespace crow { } - request(HTTPMethod method, std::string url, ci_map headers, std::string body) - : method(method), url(std::move(url)), headers(std::move(headers)), body(std::move(body)) + request(HTTPMethod method, std::string url, ci_map url_params, ci_map headers, std::string body) + : method(method), url(std::move(url)), url_params(std::move(url_params)), headers(std::move(headers)), body(std::move(body)) { } -- cgit v1.2.3-54-g00ecf