/openbmc/bmcweb/include/ |
H A D | security_headers.hpp | 14 res.addHeader(bf::strict_transport_security, "max-age=31536000; " in addSecurityHeaders() 17 res.addHeader(bf::pragma, "no-cache"); in addSecurityHeaders() 21 res.addHeader(bf::cache_control, "no-store, max-age=0"); in addSecurityHeaders() 23 res.addHeader("X-Content-Type-Options", "nosniff"); in addSecurityHeaders() 28 res.addHeader(bf::x_frame_options, "DENY"); in addSecurityHeaders() 29 res.addHeader("Referrer-Policy", "no-referrer"); in addSecurityHeaders() 30 res.addHeader( in addSecurityHeaders() 61 res.addHeader("X-Permitted-Cross-Domain-Policies", "none"); in addSecurityHeaders() 63 res.addHeader("Cross-Origin-Opener-Policy", "same-origin"); in addSecurityHeaders() 64 res.addHeader("Cross-Origin-Resource-Policy", "same-origin"); in addSecurityHeaders() [all …]
|
H A D | cookies.hpp | 12 res.addHeader(boost::beast::http::field::set_cookie, in setSessionCookies() 15 res.addHeader(boost::beast::http::field::set_cookie, in setSessionCookies() 22 res.addHeader(boost::beast::http::field::set_cookie, in clearSessionCookies() 26 res.addHeader("Clear-Site-Data", R"("cache","cookies","storage")"); in clearSessionCookies()
|
H A D | webassets.hpp | 69 asyncResp->res.addHeader(boost::beast::http::field::content_type, in handleStaticAsset() 75 asyncResp->res.addHeader(boost::beast::http::field::content_encoding, in handleStaticAsset() 81 asyncResp->res.addHeader(boost::beast::http::field::etag, file.etag); in handleStaticAsset() 88 asyncResp->res.addHeader(boost::beast::http::field::cache_control, in handleStaticAsset()
|
H A D | forward_unauthorized.hpp | 30 res.addHeader(boost::beast::http::field::location, in sendUnauthorized() 57 res.addHeader(boost::beast::http::field::www_authenticate, "Basic"); in sendUnauthorized()
|
H A D | image_upload.hpp | 30 asyncResp->res.addHeader("Retry-After", "30"); in uploadImageHandler()
|
/openbmc/bmcweb/test/include/ |
H A D | multipart_test.cpp | 40 reqIn.addHeader("Content-Type", in TEST_F() 75 reqIn.addHeader("Content-Type", in TEST_F() 93 reqIn.addHeader("Content-Type", in TEST_F() 115 reqIn.addHeader("Content-Type", in TEST_F() 134 reqIn.addHeader("Content-Type", in TEST_F() 154 reqIn.addHeader("Content-Type", in TEST_F() 174 reqIn.addHeader("Content-Type", in TEST_F() 193 reqIn.addHeader("Content-Type", in TEST_F() 212 reqIn.addHeader("Content-Type", in TEST_F() 340 reqIn.addHeader( in TEST_F() [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | aggregation_service.hpp | 28 asyncResp->res.addHeader( in handleAggregationServiceHead() 41 asyncResp->res.addHeader( in handleAggregationServiceGet() 98 asyncResp->res.addHeader( in handleAggregationSourceCollectionGet() 120 asyncResp->res.addHeader( in handleAggregationSourceCollectionHead() 144 asyncResp->res.addHeader( in populateAggregationSource() 208 asyncResp->res.addHeader( in handleAggregationSourceHead()
|
H A D | redfish_sessions.hpp | 65 asyncResp->res.addHeader( in handleSessionHead() 79 asyncResp->res.addHeader( in handleSessionGet() 165 asyncResp->res.addHeader( in handleSessionCollectionHead() 178 asyncResp->res.addHeader( in handleSessionCollectionGet() 271 asyncResp->res.addHeader("X-Auth-Token", session->sessionToken); in handleSessionCollectionPost() 274 asyncResp->res.addHeader( in handleSessionCollectionPost() 297 asyncResp->res.addHeader( in handleSessionServiceHead() 310 asyncResp->res.addHeader( in handleSessionServiceGet()
|
H A D | environment_metrics.hpp | 35 asyncResp->res.addHeader( in handleEnvironmentMetricsHead() 62 asyncResp->res.addHeader( in handleEnvironmentMetricsGet()
|
H A D | power_subsystem.hpp | 30 asyncResp->res.addHeader( in doPowerSubsystemCollection() 63 asyncResp->res.addHeader( in handlePowerSubsystemCollectionHead()
|
H A D | thermal_subsystem.hpp | 31 asyncResp->res.addHeader( in doThermalSubsystemCollection() 71 asyncResp->res.addHeader( in handleThermalSubsystemCollectionHead()
|
H A D | service_root.hpp | 42 asyncResp->res.addHeader( in handleServiceRootHead() 50 asyncResp->res.addHeader( in handleServiceRootGetImpl()
|
H A D | fabric_adapters.hpp | 168 asyncResp->res.addHeader( in doAdapterGet() 309 asyncResp->res.addHeader( in handleFabricAdapterCollectionGet() 349 asyncResp->res.addHeader( in handleFabricAdapterCollectionHead() 378 asyncResp->res.addHeader( in afterHandleFabricAdapterHead()
|
H A D | thermal_metrics.hpp | 126 asyncResp->res.addHeader( in doThermalMetrics() 159 asyncResp->res.addHeader( in handleThermalMetricsHead()
|
H A D | fan.hpp | 93 asyncResp->res.addHeader( in doFanCollection() 129 asyncResp->res.addHeader( in handleFanCollectionHead() 222 resp.addHeader(boost::beast::http::field::link, in addFanCommonProperties() 418 asyncResp->res.addHeader( in handleFanHead()
|
H A D | power_supply.hpp | 65 asyncResp->res.addHeader( in doPowerSupplyCollection() 101 asyncResp->res.addHeader( in handlePowerSupplyCollectionHead() 459 asyncResp->res.addHeader( in doPowerSupplyGet() 494 asyncResp->res.addHeader( in handlePowerSupplyHead()
|
H A D | network_protocol.hpp | 178 asyncResp->res.addHeader( in getNetworkData() 482 asyncResp->res.addHeader( in handleBmcNetworkProtocolHead() 573 asyncResp->res.addHeader( in handleManagersNetworkProtocolHead() 592 asyncResp->res.addHeader( in handleManagersNetworkProtocolGet()
|
H A D | account_service.hpp | 1206 asyncResp->res.addHeader( in handleAccountServiceHead() 1235 asyncResp->res.addHeader( in handleAccountServiceClientCertificatesInstanceHead() 1269 asyncResp->res.addHeader( in handleAccountServiceClientCertificatesHead() 1342 asyncResp->res.addHeader( in handleAccountServiceGet() 1676 asyncResp->res.addHeader( in handleAccountCollectionHead() 1696 asyncResp->res.addHeader( in handleAccountCollectionGet() 1807 asyncResp->res.addHeader("Location", in processAfterCreateUser() 1960 asyncResp->res.addHeader( in handleAccountHead() 1974 asyncResp->res.addHeader( in handleAccountGet()
|
H A D | metadata.hpp | 111 asyncResp->res.addHeader(boost::beast::http::field::content_type, in handleMetadataGet()
|
H A D | pcie.hpp | 128 asyncResp->res.addHeader(boost::beast::http::field::link, in handlePCIeDeviceCollectionGet() 540 asyncResp->res.addHeader( in addPCIeDeviceCommonProperties() 665 asyncResp->res.addHeader( in handlePCIeFunctionCollectionGet() 778 resp.addHeader( in addPCIeFunctionCommonProperties()
|
/openbmc/bmcweb/http/ |
H A D | complete_response_fields.hpp | 40 res.addHeader(boost::beast::http::field::content_type, in completeResponseFields() 51 res.addHeader(boost::beast::http::field::content_type, in completeResponseFields()
|
H A D | http_request.hpp | 54 void addHeader(std::string_view key, std::string_view value) in addHeader() function 59 void addHeader(boost::beast::http::field key, std::string_view value) in addHeader() function
|
H A D | http_response.hpp | 50 void addHeader(std::string_view key, std::string_view value) in addHeader() function 55 void addHeader(http::field key, std::string_view value) in addHeader() function 285 addHeader(http::field::etag, hexVal); in setHashAndHandleNotModified()
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | redfish_aggregator.hpp | 270 asyncResp.addHeader(boost::beast::http::field::content_type, in addAggregatedHeaders() 275 asyncResp.addHeader(boost::beast::http::field::allow, in addAggregatedHeaders() 283 asyncResp.addHeader(boost::beast::http::field::location, location); in addAggregatedHeaders() 287 asyncResp.addHeader(boost::beast::http::field::retry_after, in addAggregatedHeaders() 984 asyncResp->res.addHeader("Content-Type", "application/json"); in processCollectionResponse()
|
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | json_utils_test.cpp | 324 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST() 351 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST() 381 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST() 400 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST() 415 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST()
|