aboutsummaryrefslogtreecommitdiffstats
path: root/include/http_request.h
diff options
context:
space:
mode:
authorJaeseung Ha <ipknhama@gmail.com>2015-01-19 18:58:19 +0900
committerJaeseung Ha <ipknhama@gmail.com>2015-01-19 18:58:19 +0900
commite27de5edac09044b97d077e364bd5f8a5a30909a (patch)
tree514dc031ff766b3d647cf074713830630c8ca3c6 /include/http_request.h
parent3fc1424e6260c96f3ed255714ba29a56b6439299 (diff)
downloadcrow-e27de5edac09044b97d077e364bd5f8a5a30909a.tar.gz
crow-e27de5edac09044b97d077e364bd5f8a5a30909a.zip
add const to request::get_header_value method
Diffstat (limited to 'include/http_request.h')
-rw-r--r--include/http_request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/http_request.h b/include/http_request.h
index 1319b2d..75bce73 100644
--- a/include/http_request.h
+++ b/include/http_request.h
@@ -43,7 +43,7 @@ namespace crow
headers.emplace(std::move(key), std::move(value));
}
- const std::string& get_header_value(const std::string& key)
+ const std::string& get_header_value(const std::string& key) const
{
return crow::get_header_value(headers, key);
}