Searched refs:AddCustomHeader (Results 1 – 8 of 8) sorted by relevance
/aosp_15_r20/external/cronet/net/test/embedded_test_server/ |
H A D | default_handlers.cc | 69 http_response->AddCustomHeader("Cache-Control", "max-age=60"); in HandleCacheTime() 101 http_response->AddCustomHeader("Vary", vary); in HandleEchoHeader() 104 http_response->AddCustomHeader("Access-Control-Allow-Origin", "*"); in HandleEchoHeader() 105 http_response->AddCustomHeader("Cache-Control", cache_control); in HandleEchoHeader() 147 http_response->AddCustomHeader("Access-Control-Allow-Origin", "*"); in HandleEchoCriticalHeader() 149 http_response->AddCustomHeader("Accept-CH", "Sec-CH-UA-Platform"); in HandleEchoCriticalHeader() 150 http_response->AddCustomHeader("Critical-CH", "Sec-CH-UA-Platform"); in HandleEchoCriticalHeader() 225 http_response->AddCustomHeader("Cache-Control", in HandleEchoAll() 249 http_response->AddCustomHeader("Set-Cookie", cookie); in HandleSetCookie() 268 http_response->AddCustomHeader("Set-Cookie", "\x01"); in HandleSetInvalidCookie() [all …]
|
H A D | request_handler_util.cc | 243 http_response->AddCustomHeader( in HandleFileRequest() 253 http_response->AddCustomHeader("Accept-Ranges", "bytes"); in HandleFileRequest() 254 http_response->AddCustomHeader("ETag", "'" + file_path.MaybeAsASCII() + "'"); in HandleFileRequest()
|
H A D | http_response_unittest.cc | 16 response.AddCustomHeader("Simple-Header", "Simple value."); in TEST()
|
H A D | http_response.h | 116 void AddCustomHeader(std::string_view key, std::string_view value) { in AddCustomHeader() function
|
/aosp_15_r20/external/cronet/net/reporting/ |
H A D | reporting_uploader_unittest.cc | 72 response->AddCustomHeader("Access-Control-Allow-Origin", it->second); in AllowPreflight() 73 response->AddCustomHeader("Access-Control-Allow-Methods", "POST"); in AllowPreflight() 74 response->AddCustomHeader("Access-Control-Allow-Headers", "Content-Type"); in AllowPreflight() 287 response->AddCustomHeader("Access-Control-Allow-Methods", "POST"); in ReturnPreflightWithoutOrigin() 288 response->AddCustomHeader("Access-Control-Allow-Headers", "Content-Type"); in ReturnPreflightWithoutOrigin() 318 response->AddCustomHeader("Access-Control-Allow-Origin", it->second); in ReturnPreflightWithoutMethods() 319 response->AddCustomHeader("Access-Control-Allow-Headers", "Content-Type"); in ReturnPreflightWithoutMethods() 349 response->AddCustomHeader("Access-Control-Allow-Origin", it->second); in ReturnPreflightWithWildcardMethods() 350 response->AddCustomHeader("Access-Control-Allow-Headers", "Content-Type"); in ReturnPreflightWithWildcardMethods() 351 response->AddCustomHeader("Access-Control-Allow-Methods", "*"); in ReturnPreflightWithWildcardMethods() [all …]
|
/aosp_15_r20/external/cronet/components/cronet/testing/test_server/ |
H A D | test_server.cc | 72 http_response->AddCustomHeader(std::string("content-encoding"), in UseEncodingInResponse() 99 http_response->AddCustomHeader("Set-Cookie", cookie_line); in SetAndEchoCookieInResponse() 159 response->AddCustomHeader("Location", kEchoBodyPath); in CronetTestRequestHandler()
|
/aosp_15_r20/external/cronet/net/url_request/ |
H A D | url_request_quic_perftest.cc | 78 http_response->AddCustomHeader( in HandleRequest()
|
H A D | url_request_unittest.cc | 4110 http_response->AddCustomHeader("Location", in HandleRedirectConnect() 4741 http_response->AddCustomHeader("WWW-Authenticate", in HandleServerAuthConnect() 12181 AddCustomHeader("Vary", "Early-Data"); in SendResponse() 12183 AddCustomHeader("Cache-Control", "no-cache"); in SendResponse()
|