aboutsummaryrefslogtreecommitdiffstats
path: root/include/http_request.h
diff options
context:
space:
mode:
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);
}