Home
last modified time | relevance | path

Searched refs:AddCustomHeader (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/cronet/net/test/embedded_test_server/
H A Ddefault_handlers.cc69 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 Drequest_handler_util.cc243 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 Dhttp_response_unittest.cc16 response.AddCustomHeader("Simple-Header", "Simple value."); in TEST()
H A Dhttp_response.h116 void AddCustomHeader(std::string_view key, std::string_view value) { in AddCustomHeader() function
/aosp_15_r20/external/cronet/net/reporting/
H A Dreporting_uploader_unittest.cc72 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 Dtest_server.cc72 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 Durl_request_quic_perftest.cc78 http_response->AddCustomHeader( in HandleRequest()
H A Durl_request_unittest.cc4110 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()