/openbmc/bmcweb/include/ |
H A D | security_headers.hpp | 15 res.addHeader(bf::strict_transport_security, "max-age=31536000; " in addSecurityHeaders() 18 res.addHeader(bf::pragma, "no-cache"); in addSecurityHeaders() 22 res.addHeader(bf::cache_control, "no-store, max-age=0"); in addSecurityHeaders() 24 res.addHeader("X-Content-Type-Options", "nosniff"); in addSecurityHeaders() 29 res.addHeader(bf::x_frame_options, "DENY"); in addSecurityHeaders() 30 res.addHeader("Referrer-Policy", "no-referrer"); in addSecurityHeaders() 31 res.addHeader( in addSecurityHeaders() 62 res.addHeader("X-Permitted-Cross-Domain-Policies", "none"); in addSecurityHeaders() 63 res.addHeader("Cross-Origin-Embedder-Policy", "require-corp"); in addSecurityHeaders() 64 res.addHeader("Cross-Origin-Opener-Policy", "same-origin"); in addSecurityHeaders() [all …]
|
H A D | cookies.hpp | 16 res.addHeader(boost::beast::http::field::set_cookie, in setSessionCookies() 19 res.addHeader(boost::beast::http::field::set_cookie, in setSessionCookies() 26 res.addHeader(boost::beast::http::field::set_cookie, in clearSessionCookies() 30 res.addHeader("Clear-Site-Data", R"("cache","cookies","storage")"); in clearSessionCookies()
|
H A D | webassets.hpp | 80 asyncResp->res.addHeader(boost::beast::http::field::content_type, in handleStaticAsset() 86 asyncResp->res.addHeader(boost::beast::http::field::content_encoding, in handleStaticAsset() 92 asyncResp->res.addHeader(boost::beast::http::field::etag, file.etag); in handleStaticAsset() 99 asyncResp->res.addHeader(boost::beast::http::field::cache_control, in handleStaticAsset()
|
H A D | forward_unauthorized.hpp | 36 res.addHeader(boost::beast::http::field::location, in sendUnauthorized() 63 res.addHeader(boost::beast::http::field::www_authenticate, "Basic"); in sendUnauthorized()
|
H A D | image_upload.hpp | 46 asyncResp->res.addHeader("Retry-After", "30"); in uploadImageHandler()
|
/openbmc/bmcweb/test/include/ |
H A D | multipart_test.cpp | 42 reqIn.addHeader("Content-Type", in TEST_F() 77 reqIn.addHeader("Content-Type", in TEST_F() 95 reqIn.addHeader("Content-Type", in TEST_F() 117 reqIn.addHeader("Content-Type", in TEST_F() 136 reqIn.addHeader("Content-Type", in TEST_F() 156 reqIn.addHeader("Content-Type", in TEST_F() 176 reqIn.addHeader("Content-Type", in TEST_F() 195 reqIn.addHeader("Content-Type", in TEST_F() 214 reqIn.addHeader("Content-Type", in TEST_F() 234 reqIn.addHeader("Content-Type", in TEST_F() [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | aggregation_service.hpp | 37 asyncResp->res.addHeader( in handleAggregationServiceHead() 50 asyncResp->res.addHeader( in handleAggregationServiceGet() 107 asyncResp->res.addHeader( in handleAggregationSourceCollectionGet() 129 asyncResp->res.addHeader( in handleAggregationSourceCollectionHead() 153 asyncResp->res.addHeader( in populateAggregationSource() 217 asyncResp->res.addHeader( in handleAggregationSourceHead()
|
H A D | redfish_sessions.hpp | 69 asyncResp->res.addHeader( in handleSessionHead() 83 asyncResp->res.addHeader( in handleSessionGet() 169 asyncResp->res.addHeader( in handleSessionCollectionHead() 182 asyncResp->res.addHeader( in handleSessionCollectionGet() 222 asyncResp->res.addHeader("X-Auth-Token", session->sessionToken); in processAfterSessionCreation() 225 asyncResp->res.addHeader( in processAfterSessionCreation() 309 asyncResp->res.addHeader( in handleSessionServiceHead() 322 asyncResp->res.addHeader( in handleSessionServiceGet()
|
H A D | environment_metrics.hpp | 44 asyncResp->res.addHeader( in handleEnvironmentMetricsHead() 71 asyncResp->res.addHeader( in handleEnvironmentMetricsGet()
|
H A D | power_subsystem.hpp | 38 asyncResp->res.addHeader( in doPowerSubsystemCollection() 71 asyncResp->res.addHeader( in handlePowerSubsystemCollectionHead()
|
H A D | thermal_subsystem.hpp | 39 asyncResp->res.addHeader( in doThermalSubsystemCollection() 79 asyncResp->res.addHeader( in handleThermalSubsystemCollectionHead()
|
H A D | service_root.hpp | 36 asyncResp->res.addHeader( in handleServiceRootHead() 44 asyncResp->res.addHeader( in handleServiceRootGetImpl()
|
H A D | fabric_adapters.hpp | 178 asyncResp->res.addHeader( in doAdapterGet() 319 asyncResp->res.addHeader( in handleFabricAdapterCollectionGet() 359 asyncResp->res.addHeader( in handleFabricAdapterCollectionHead() 388 asyncResp->res.addHeader( in afterHandleFabricAdapterHead()
|
H A D | fan.hpp | 104 asyncResp->res.addHeader( in doFanCollection() 140 asyncResp->res.addHeader( in handleFanCollectionHead() 233 resp.addHeader(boost::beast::http::field::link, in addFanCommonProperties() 427 asyncResp->res.addHeader( in handleFanHead()
|
H A D | thermal_metrics.hpp | 140 asyncResp->res.addHeader( in doThermalMetrics() 173 asyncResp->res.addHeader( in handleThermalMetricsHead()
|
H A D | network_protocol.hpp | 185 asyncResp->res.addHeader( in getNetworkData() 489 asyncResp->res.addHeader( in handleBmcNetworkProtocolHead() 580 asyncResp->res.addHeader( in handleManagersNetworkProtocolHead() 599 asyncResp->res.addHeader( in handleManagersNetworkProtocolGet()
|
H A D | power_supply.hpp | 81 asyncResp->res.addHeader( in doPowerSupplyCollection() 117 asyncResp->res.addHeader( in handlePowerSupplyCollectionHead() 472 asyncResp->res.addHeader( in doPowerSupplyGet() 507 asyncResp->res.addHeader( in handlePowerSupplyHead()
|
H A D | account_service.hpp | 1235 asyncResp->res.addHeader( in handleAccountServiceHead() 1264 asyncResp->res.addHeader( in handleAccountServiceClientCertificatesInstanceHead() 1298 asyncResp->res.addHeader( in handleAccountServiceClientCertificatesHead() 1371 asyncResp->res.addHeader( in handleAccountServiceGet() 1705 asyncResp->res.addHeader( in handleAccountCollectionHead() 1725 asyncResp->res.addHeader( in handleAccountCollectionGet() 1836 asyncResp->res.addHeader("Location", in processAfterCreateUser() 1988 asyncResp->res.addHeader( in handleAccountHead() 2002 asyncResp->res.addHeader( in handleAccountGet()
|
H A D | pcie.hpp | 138 asyncResp->res.addHeader(boost::beast::http::field::link, in handlePCIeDeviceCollectionGet() 550 asyncResp->res.addHeader( in addPCIeDeviceCommonProperties() 675 asyncResp->res.addHeader( in handlePCIeFunctionCollectionGet() 788 resp.addHeader( in addPCIeFunctionCommonProperties()
|
H A D | metadata.hpp | 118 asyncResp->res.addHeader(boost::beast::http::field::content_type, in handleMetadataGet()
|
/openbmc/bmcweb/http/ |
H A D | complete_response_fields.hpp | 42 res.addHeader(boost::beast::http::field::content_type, in completeResponseFields() 53 res.addHeader(boost::beast::http::field::content_type, in completeResponseFields()
|
H A D | http_request.hpp | 61 void addHeader(std::string_view key, std::string_view value) in addHeader() function 66 void addHeader(boost::beast::http::field key, std::string_view value) in addHeader() function
|
H A D | http_response.hpp | 61 void addHeader(std::string_view key, std::string_view value) in addHeader() function 66 void addHeader(http::field key, std::string_view value) in addHeader() function 296 addHeader(http::field::etag, hexVal); in setHashAndHandleNotModified()
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | redfish_aggregator.hpp | 304 asyncResp.addHeader(boost::beast::http::field::content_type, in addAggregatedHeaders() 309 asyncResp.addHeader(boost::beast::http::field::allow, in addAggregatedHeaders() 317 asyncResp.addHeader(boost::beast::http::field::location, location); in addAggregatedHeaders() 321 asyncResp.addHeader(boost::beast::http::field::retry_after, in addAggregatedHeaders() 1047 asyncResp->res.addHeader("Content-Type", "application/json"); in processCollectionResponse()
|
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | json_utils_test.cpp | 326 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST() 353 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST() 383 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST() 418 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST() 433 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST()
|