Home
last modified time | relevance | path

Searched refs:getHeaderValue (Results 1 – 22 of 22) 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 Dwebassets.hpp107 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/features/webui_login/
H A Dlogin_routes.hpp37 std::string_view contentType = req.getHeaderValue("content-type"); in handleLogin()
169 username = req.getHeaderValue("username"); in handleLogin()
170 password = req.getHeaderValue("password"); in handleLogin()
/openbmc/bmcweb/http/
H A Dhttp_request.hpp101 std::string_view getHeaderValue(std::string_view key) const in getHeaderValue() function
106 std::string_view getHeaderValue(boost::beast::http::field key) const in getHeaderValue() function
H A Dhttp_connection.hpp313 isContentTypeAllowed(req->getHeaderValue("Accept"), in doUpgrade()
395 accept = req->getHeaderValue(field::accept); in handle()
396 acceptEncoding = req->getHeaderValue(field::accept_encoding); in handle()
403 if (req->getHeaderValue(field::host).empty()) in handle()
432 req->getHeaderValue("X-Requested-With"), in handle()
433 req->getHeaderValue("Accept"), res); in handle()
450 req->getHeaderValue(boost::beast::http::field::if_none_match); in handle()
H A Dparsing.hpp33 req.getHeaderValue(boost::beast::http::field::content_type))) in parseRequestAsJson()
H A Dhttp2_connection.hpp303 it->second.accept = thisReq.getHeaderValue(field::accept); in onRequestRecv()
304 it->second.acceptEnc = thisReq.getHeaderValue(field::accept_encoding); in onRequestRecv()
333 thisReq.getHeaderValue("X-Requested-With"), in onRequestRecv()
334 thisReq.getHeaderValue("Accept"), asyncResp->res); in onRequestRecv()
339 thisReq.getHeaderValue(boost::beast::http::field::if_none_match); in onRequestRecv()
H A Dhttp_response.hpp168 std::string_view getHeaderValue(std::string_view key) const in getHeaderValue() function
173 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/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()
1000 if (isJsonContentType(resp.getHeaderValue("Content-Type"))) in processResponse()
1062 if (isJsonContentType(resp.getHeaderValue("Content-Type"))) in processCollectionResponse()
1194 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/test/http/
H A Dhttp2_connection_test.cpp53 EXPECT_EQ(req->getHeaderValue(boost::beast::http::field::user_agent), in handle()
55 EXPECT_EQ(req->getHeaderValue(boost::beast::http::field::accept), in handle()
H A Dhttp_connection_test.cpp45 EXPECT_EQ(req->getHeaderValue(boost::beast::http::field::host), in handle()
H A Dhttp_response_test.cpp31 EXPECT_EQ(res.getHeaderValue("myheader"), "myvalue"); in verifyHeaders()
/openbmc/bmcweb/redfish-core/lib/
H A Dmanager_logservices_dbus_eventlog.hpp114 req.getHeaderValue("Accept"), in handleManagersDBusLogServiceActionsClear()
137 req.getHeaderValue("Accept"), in handleManagersDBusEventLogEntryDownload()
H A Deventservice_sse.hpp54 std::string lastEventId(req.getHeaderValue("Last-Event-Id")); in createSubscription()
H A Dsystems_logservices_dbus_eventlog.hpp173 req.getHeaderValue("Accept"), in handleSystemsDBusEventLogEntryDownloadGet()
H A Dredfish_sessions.hpp205 if (!req.getHeaderValue("X-Requested-With").empty()) in processAfterSessionCreation()
H A Dsystems_logservices_postcodes.hpp514 req.getHeaderValue("Accept"), in handleSystemsLogServicesPostCodesEntriesEntryAdditionalDataGet()
H A Dupdate_service.hpp1136 std::string_view contentType = req.getHeaderValue("Content-Type"); in handleUpdateServicePost()
1161 std::string_view contentType = req.getHeaderValue("Content-Type"); in handleUpdateServiceMultipartUpdatePost()
/openbmc/bmcweb/features/ibm/
H A Dibm_management_console_rest.hpp54 boost::beast::string_view contentType = req.getHeaderValue("content-type"); in handleFilePut()