Home
last modified time | relevance | path

Searched refs:addHeader (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/bmcweb/include/
H A Dsecurity_headers.hpp15 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 Dcookies.hpp16 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 Dforward_unauthorized.hpp39 res.addHeader(boost::beast::http::field::location, in sendUnauthorized()
66 res.addHeader(boost::beast::http::field::www_authenticate, "Basic"); in sendUnauthorized()
H A Dwebassets.hpp83 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 Dmultipart_test.cpp40 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 Dredfish_aggregator_utils.hpp41 req.addHeader(headerName, field.value()); in createNewRequest()
45 req.addHeader(boost::beast::http::field::accept, in createNewRequest()
H A Dlog_services_utils.hpp112 asyncResp->res.addHeader( in downloadEntryCallback()
122 asyncResp->res.addHeader(boost::beast::http::field::content_type, in downloadEntryCallback()
/openbmc/bmcweb/redfish-core/lib/
H A Dredfish_sessions.hpp69 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 Daggregation_service.hpp43 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 Dpower_subsystem.hpp38 asyncResp->res.addHeader( in doPowerSubsystemCollection()
71 asyncResp->res.addHeader( in handlePowerSubsystemCollectionHead()
H A Dthermal_subsystem.hpp39 asyncResp->res.addHeader( in doThermalSubsystemCollection()
79 asyncResp->res.addHeader( in handleThermalSubsystemCollectionHead()
H A Dservice_root.hpp37 asyncResp->res.addHeader( in handleServiceRootHead()
45 asyncResp->res.addHeader( in handleServiceRootGetImpl()
H A Dthermal_metrics.hpp140 asyncResp->res.addHeader( in doThermalMetrics()
173 asyncResp->res.addHeader( in handleThermalMetricsHead()
H A Dfabric_adapters.hpp124 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 Dfan.hpp72 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 Denvironment_metrics.hpp193 asyncResp->res.addHeader( in handleEnvironmentMetricsHead()
213 asyncResp->res.addHeader( in doEnvironmentMetricsGet()
H A Dfabric_ports.hpp150 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 Dpower_supply.hpp90 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 Dmetadata.hpp118 asyncResp->res.addHeader(boost::beast::http::field::content_type, in handleMetadataGet()
H A Dnetwork_protocol.hpp182 asyncResp->res.addHeader( in getNetworkData()
551 asyncResp->res.addHeader( in handleManagersNetworkProtocolHead()
570 asyncResp->res.addHeader( in handleManagersNetworkProtocolGet()
H A Dpcie.hpp138 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 Dcomplete_response_fields.hpp84 res.addHeader(boost::beast::http::field::content_type, in completeResponseFields()
95 res.addHeader(boost::beast::http::field::content_type, in completeResponseFields()
H A Dhttp_request.hpp67 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 Dhttp_response.hpp62 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 Dimage_upload.hpp45 asyncResp->res.addHeader("Retry-After", "30"); in uploadImageHandler()

123