summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-04-04 01:56:36 +0300
committerEd Tanous <ed@tanous.net>2024-04-07 04:21:05 +0300
commit1919a03c45725b9d52067d739a57db7cd6a201ae (patch)
tree941699715992a24017cd85dec542e86209c618c1 /http
parentdf254f2c0b2ca4a5ceeb040849c51030b8438ead (diff)
downloadbmcweb-1919a03c45725b9d52067d739a57db7cd6a201ae.tar.xz
Fix minor error in Request::method
Minor syntax error injected in: 1873a04f Reduce multi-level calls of req.req members Tested: Code compiles. Change-Id: Iec26273349df6063eb425e4a75b1250c17bc6f3f Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'http')
-rw-r--r--http/http_request.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/http_request.hpp b/http/http_request.hpp
index 53f51e68fd..d041b82660 100644
--- a/http/http_request.hpp
+++ b/http/http_request.hpp
@@ -82,7 +82,7 @@ struct Request
}
void method(boost::beast::http::verb verb)
{
- return req.method(verb);
+ req.method(verb);
}
std::string_view getHeaderValue(std::string_view key) const