Home
last modified time | relevance | path

Searched refs:getHeaderValue (Results 1 – 21 of 21) sorted by relevance

/openbmc/bmcweb/include/
H A Dsecurity_headers.hpp20 if (res.getHeaderValue(bf::cache_control).empty()) in addSecurityHeaders()
26 std::string_view contentType = res.getHeaderValue("Content-Type"); in addSecurityHeaders()
H A Dlogin_routes.hpp37 std::string_view contentType = req.getHeaderValue("content-type"); in handleLogin()
162 username = req.getHeaderValue("username"); in handleLogin()
163 password = req.getHeaderValue("password"); in handleLogin()
H A Dwebassets.hpp104 req.getHeaderValue(boost::beast::http::field::if_none_match); in handleStaticAsset()
H A Dmultipart_parser.hpp68 std::string_view contentType = req.getHeaderValue("content-type"); in parse()
/openbmc/bmcweb/test/http/
H A Dhttp2_connection_test.cpp52 EXPECT_EQ(req->getHeaderValue(boost::beast::http::field::user_agent), in handle()
54 EXPECT_EQ(req->getHeaderValue(boost::beast::http::field::accept), in handle()
56 EXPECT_EQ(req->getHeaderValue(":authority"), "localhost:18080"); in handle()
H A Dhttp_connection_test.cpp45 EXPECT_EQ(req->getHeaderValue(boost::beast::http::field::host), in handle()
H A Dhttp_response_test.cpp30 EXPECT_EQ(res.getHeaderValue("myheader"), "myvalue"); in verifyHeaders()
/openbmc/bmcweb/redfish-core/include/
H A Dredfish_aggregator.hpp302 if (!resp.getHeaderValue("Content-Type").empty()) in addAggregatedHeaders()
305 resp.getHeaderValue("Content-Type")); in addAggregatedHeaders()
307 if (!resp.getHeaderValue("Allow").empty()) in addAggregatedHeaders()
310 resp.getHeaderValue("Allow")); in addAggregatedHeaders()
312 std::string_view header = resp.getHeaderValue("Location"); in addAggregatedHeaders()
319 if (!resp.getHeaderValue("Retry-After").empty()) in addAggregatedHeaders()
322 resp.getHeaderValue("Retry-After")); in addAggregatedHeaders()
941 if (isJsonContentType(resp.getHeaderValue("Content-Type"))) in processResponse()
1003 if (isJsonContentType(resp.getHeaderValue("Content-Type"))) in processCollectionResponse()
1135 if (isJsonContentType(resp.getHeaderValue("Content-Type"))) in processContainsSubordinateResponse()
H A Dquery.hpp63 req.getHeaderValue(boost::beast::http::field::if_match)}; in handleIfMatch()
131 std::string_view odataHeader = req.getHeaderValue("OData-Version"); in setUpRedfishRouteWithDelegation()
/openbmc/bmcweb/http/
H A Dhttp_request.hpp95 std::string_view getHeaderValue(std::string_view key) const in getHeaderValue() function
100 std::string_view getHeaderValue(boost::beast::http::field key) const in getHeaderValue() function
H A Dhttp_connection.hpp304 isContentTypeAllowed(req->getHeaderValue("Accept"), in doUpgrade()
385 accept = req->getHeaderValue("Accept"); in handle()
392 if (req->getHeaderValue(boost::beast::http::field::host).empty()) in handle()
421 req->getHeaderValue("X-Requested-With"), in handle()
422 req->getHeaderValue("Accept"), res); in handle()
439 req->getHeaderValue(boost::beast::http::field::if_none_match); in handle()
H A Dparsing.hpp34 req.getHeaderValue(boost::beast::http::field::content_type))) in parseRequestAsJson()
H A Dhttp2_connection.hpp280 it->second.accept = thisReq.getHeaderValue("Accept"); in onRequestRecv()
309 thisReq.getHeaderValue("X-Requested-With"), in onRequestRecv()
310 thisReq.getHeaderValue("Accept"), asyncResp->res); in onRequestRecv()
315 thisReq.getHeaderValue(boost::beast::http::field::if_none_match); in onRequestRecv()
H A Dhttp_response.hpp164 std::string_view getHeaderValue(std::string_view key) const in getHeaderValue() function
169 std::string_view getHeaderValue(boost::beast::http::field key) const in getHeaderValue() function
H A Dwebsocket_impl.hpp81 req.getHeaderValue(bf::sec_websocket_protocol)}; in start()
/openbmc/bmcweb/redfish-core/lib/
H A Deventservice_sse.hpp53 std::string lastEventId(req.getHeaderValue("Last-Event-Id")); in createSubscription()
H A Dredfish_sessions.hpp216 if (!req.getHeaderValue("X-Requested-With").empty()) in processAfterSessionCreation()
H A Dsystems_logservices_postcodes.hpp509 req.getHeaderValue("Accept"), in handleSystemsLogServicesPostCodesEntriesEntryAdditionalDataGet()
H A Dupdate_service.hpp1053 std::string_view contentType = req.getHeaderValue("Content-Type"); in handleUpdateServicePost()
H A Dlog_services.hpp2297 req.getHeaderValue("Accept"), in handleDBusEventLogEntryDownloadGet()
/openbmc/bmcweb/include/ibm/
H A Dmanagement_console_rest.hpp54 boost::beast::string_view contentType = req.getHeaderValue("content-type"); in handleFilePut()