| /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()
|
| H A D | forward_unauthorized.hpp | 39 res.addHeader(boost::beast::http::field::location, in sendUnauthorized() 66 res.addHeader(boost::beast::http::field::www_authenticate, "Basic"); in sendUnauthorized()
|
| H A D | webassets.hpp | 83 asyncResp->res.addHeader(boost::beast::http::field::content_type, in handleStaticAsset() 89 asyncResp->res.addHeader(boost::beast::http::field::content_encoding, in handleStaticAsset() 95 asyncResp->res.addHeader(boost::beast::http::field::etag, file.etag); in handleStaticAsset() 102 asyncResp->res.addHeader(boost::beast::http::field::cache_control, in handleStaticAsset()
|
| /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() 232 reqIn.addHeader("Content-Type", in TEST_F() [all …]
|
| /openbmc/bmcweb/redfish-core/include/utils/ |
| H A D | redfish_aggregator_utils.hpp | 41 req.addHeader(headerName, field.value()); in createNewRequest() 45 req.addHeader(boost::beast::http::field::accept, in createNewRequest()
|
| H A D | log_services_utils.hpp | 112 asyncResp->res.addHeader( in downloadEntryCallback() 122 asyncResp->res.addHeader(boost::beast::http::field::content_type, in downloadEntryCallback()
|
| /openbmc/bmcweb/redfish-core/lib/ |
| 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() 211 asyncResp->res.addHeader("X-Auth-Token", session->sessionToken); in processAfterSessionCreation() 214 asyncResp->res.addHeader( in processAfterSessionCreation() 298 asyncResp->res.addHeader( in handleSessionServiceHead() 311 asyncResp->res.addHeader( in handleSessionServiceGet()
|
| H A D | aggregation_service.hpp | 43 asyncResp->res.addHeader( in handleAggregationServiceHead() 56 asyncResp->res.addHeader( in handleAggregationServiceGet() 106 asyncResp->res.addHeader( in handleAggregationSourceCollectionGet() 128 asyncResp->res.addHeader( in handleAggregationSourceCollectionHead() 151 asyncResp->res.addHeader( in populateAggregationSource() 221 asyncResp->res.addHeader( in handleAggregationSourceHead() 322 asyncResp->res.addHeader( in handleAggregationSourceCollectionPost() 406 asyncResp->res.addHeader( in handleAggregationSourceDelete()
|
| 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 | 37 asyncResp->res.addHeader( in handleServiceRootHead() 45 asyncResp->res.addHeader( in handleServiceRootGetImpl()
|
| H A D | thermal_metrics.hpp | 140 asyncResp->res.addHeader( in doThermalMetrics() 173 asyncResp->res.addHeader( in handleThermalMetricsHead()
|
| H A D | fabric_adapters.hpp | 124 asyncResp->res.addHeader( in getFabricAdapterState() 341 asyncResp->res.addHeader( in handleFabricAdapterPatch() 381 asyncResp->res.addHeader( in handleFabricAdapterCollectionGet() 410 asyncResp->res.addHeader( in handleFabricAdapterCollectionGet()
|
| H A D | fan.hpp | 72 asyncResp->res.addHeader( in doFanCollection() 109 asyncResp->res.addHeader( in handleFanCollectionHead() 189 resp.addHeader(boost::beast::http::field::link, in addFanCommonProperties() 328 asyncResp->res.addHeader( in handleFanHead()
|
| H A D | environment_metrics.hpp | 193 asyncResp->res.addHeader( in handleEnvironmentMetricsHead() 213 asyncResp->res.addHeader( in doEnvironmentMetricsGet()
|
| H A D | fabric_ports.hpp | 150 asyncResp->res.addHeader( in getFabricPortProperties() 262 asyncResp->res.addHeader( in handleFabricPortHead() 313 asyncResp->res.addHeader( in afterHandleFabricPortCollectionHead() 366 asyncResp->res.addHeader( in doHandleFabricPortCollectionGet()
|
| H A D | power_supply.hpp | 90 asyncResp->res.addHeader( in doPowerSupplyCollection() 127 asyncResp->res.addHeader( in handlePowerSupplyCollectionHead() 461 asyncResp->res.addHeader( in handlePowerSupplyAttributesSubTreeResponse() 505 asyncResp->res.addHeader( in doPowerSupplyGet()
|
| H A D | metadata.hpp | 118 asyncResp->res.addHeader(boost::beast::http::field::content_type, in handleMetadataGet()
|
| H A D | network_protocol.hpp | 182 asyncResp->res.addHeader( in getNetworkData() 551 asyncResp->res.addHeader( in handleManagersNetworkProtocolHead() 570 asyncResp->res.addHeader( in handleManagersNetworkProtocolGet()
|
| H A D | pcie.hpp | 138 asyncResp->res.addHeader(boost::beast::http::field::link, in handlePCIeDeviceCollectionGet() 553 asyncResp->res.addHeader( in addPCIeDeviceCommonProperties() 680 asyncResp->res.addHeader( in handlePCIeFunctionCollectionGet() 774 resp.addHeader( in addPCIeFunctionCommonProperties()
|
| /openbmc/bmcweb/http/ |
| H A D | complete_response_fields.hpp | 84 res.addHeader(boost::beast::http::field::content_type, in completeResponseFields() 95 res.addHeader(boost::beast::http::field::content_type, in completeResponseFields()
|
| H A D | http_request.hpp | 67 void addHeader(std::string_view key, std::string_view value) in addHeader() function 72 void addHeader(boost::beast::http::field key, std::string_view value) in addHeader() function
|
| H A D | http_response.hpp | 62 void addHeader(std::string_view key, std::string_view value) in addHeader() function 67 void addHeader(http::field key, std::string_view value) in addHeader() function 314 addHeader(http::field::etag, hexVal); in setResponseEtagAndHandleNotModified()
|
| /openbmc/bmcweb/features/openbmc_rest/ |
| H A D | image_upload.hpp | 45 asyncResp->res.addHeader("Retry-After", "30"); in uploadImageHandler()
|