/external/cronet/net/websockets/ |
D | websocket_test_util.cc | 67 const WebSocketExtraHeaders& extra_headers) { in WebSocketStandardRequest() argument 70 extra_headers); in WebSocketStandardRequest() 79 const WebSocketExtraHeaders& extra_headers) { in WebSocketStandardRequestWithCookies() argument 105 for (const auto& [key, value] : extra_headers) in WebSocketStandardRequestWithCookies() 112 std::string WebSocketStandardResponse(const std::string& extra_headers) { in WebSocketStandardResponse() argument 119 extra_headers.c_str()); in WebSocketStandardResponse() 141 const WebSocketExtraHeaders& extra_headers) { in WebSocketHttp2Request() argument 157 for (const auto& header : extra_headers) { in WebSocketHttp2Request() 164 const WebSocketExtraHeaders& extra_headers) { in WebSocketHttp2Response() argument 167 for (const auto& header : extra_headers) { in WebSocketHttp2Response()
|
D | websocket_test_util.h | 63 const WebSocketExtraHeaders& extra_headers); 74 const WebSocketExtraHeaders& extra_headers); 79 std::string WebSocketStandardResponse(const std::string& extra_headers); 91 const WebSocketExtraHeaders& extra_headers); 96 const WebSocketExtraHeaders& extra_headers);
|
/external/cronet/net/spdy/ |
D | spdy_test_util_common.h | 84 void AppendToHeaderBlock(const char* const extra_headers[], 344 spdy::SpdySerializedFrame ConstructSpdyGet(const char* const extra_headers[], 351 const char* const extra_headers[], 362 spdy::SpdySerializedFrame ConstructSpdyPush(const char* const extra_headers[], 367 spdy::SpdySerializedFrame ConstructSpdyPush(const char* const extra_headers[], 383 const char* const extra_headers[], 408 const char* const extra_headers[], 419 const char* const* const extra_headers, 430 const char* const extra_headers[], 437 const char* const extra_headers[], [all …]
|
D | spdy_test_util_common.cc | 105 void AppendToHeaderBlock(const char* const extra_headers[], in AppendToHeaderBlock() argument 112 DCHECK(extra_headers) << "NULL header value pair list"; in AppendToHeaderBlock() 118 absl::string_view key(extra_headers[i * 2]); in AppendToHeaderBlock() 119 absl::string_view value(extra_headers[i * 2 + 1]); in AppendToHeaderBlock() 741 const char* const extra_headers[], in ConstructSpdyGet() argument 748 AppendToHeaderBlock(extra_headers, extra_header_count, &block); in ConstructSpdyGet() 754 const char* const extra_headers[], in ConstructSpdyConnect() argument 762 AppendToHeaderBlock(extra_headers, extra_header_count, &block); in ConstructSpdyConnect() 767 const char* const extra_headers[], in ConstructSpdyPush() argument 781 AppendToHeaderBlock(extra_headers, extra_header_count, &headers_header_block); in ConstructSpdyPush() [all …]
|
D | spdy_http_utils_unittest.cc | 46 request.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, "Chrome/1.1"); in TEST() 48 CreateSpdyHeadersFromHttpRequest(request, request.extra_headers, &headers); in TEST() 62 request.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, "Chrome/1.1"); in TEST() 64 CreateSpdyHeadersFromHttpRequest(request, request.extra_headers, &headers); in TEST()
|
D | bidirectional_stream_spdy_impl.cc | 292 http_request_info.extra_headers = request_info_->extra_headers; in SendRequestHeadersHelper() 295 http_request_info.extra_headers, &headers); in SendRequestHeadersHelper()
|
D | spdy_proxy_client_socket.cc | 381 request_.extra_headers.MergeFrom(proxy_delegate_headers); in DoSendRequest() 386 &request_line, &request_.extra_headers); in DoSendRequest() 390 request_line, &request_.extra_headers); in DoSendRequest() 393 CreateSpdyHeadersFromHttpRequest(request_, request_.extra_headers, &headers); in DoSendRequest()
|
/external/webrtc/examples/peerconnection/server/ |
D | peer_channel.cc | 108 std::string extra_headers(GetPeerIdHeader()); in ForwardRequestToPeer() local 111 ds->Send("200 OK", true, ds->content_type(), extra_headers, ds->data()); in ForwardRequestToPeer() 114 peer->QueueResponse("200 OK", ds->content_type(), extra_headers, in ForwardRequestToPeer() 129 const std::string& extra_headers, in QueueResponse() argument 135 waiting_socket_->Send(status, true, content_type, extra_headers, data); in QueueResponse() 145 qr.extra_headers = extra_headers; in QueueResponse() 157 response.extra_headers, response.data); in SetWaitingSocket()
|
D | peer_channel.h | 49 const std::string& extra_headers, 56 std::string status, content_type, extra_headers, data; member
|
D | data_socket.cc | 125 const std::string& extra_headers, in Send() argument 144 if (!extra_headers.empty()) { in Send() 145 buffer += extra_headers; in Send()
|
/external/cronet/net/base/ |
D | test_proxy_delegate.cc | 43 HttpRequestHeaders* extra_headers) { in OnBeforeTunnelRequest() argument 45 if (extra_headers) in OnBeforeTunnelRequest() 46 extra_headers->SetHeader("Foo", ProxyServerToProxyUri(proxy_server)); in OnBeforeTunnelRequest()
|
D | proxy_delegate.h | 50 HttpRequestHeaders* extra_headers) = 0;
|
/external/cronet/net/http/ |
D | http_proxy_client_socket.cc | 55 request_.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in HttpProxyClientSocket() 345 HttpRequestHeaders extra_headers; in DoSendRequest() local 347 auth_->AddAuthorizationHeader(&extra_headers); in DoSendRequest() 351 extra_headers.HasHeader(HttpRequestHeaders::kProxyAuthorization); in DoSendRequest() 357 extra_headers.MergeFrom(proxy_delegate_headers); in DoSendRequest() 361 if (!request_.extra_headers.GetHeader(HttpRequestHeaders::kUserAgent, in DoSendRequest() 365 BuildTunnelRequest(endpoint_, extra_headers, user_agent, &request_line_, in DoSendRequest()
|
D | proxy_client_socket.cc | 27 const HttpRequestHeaders& extra_headers, in BuildTunnelRequest() argument 44 request_headers->MergeFrom(extra_headers); in BuildTunnelRequest()
|
D | http_cache_transaction.cc | 1130 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoGetBackendComplete() 1306 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoOpenOrCreateEntryComplete() 1387 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoCreateEntryComplete() 1517 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoAddToEntryComplete() 1538 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoAddToEntryComplete() 1822 &custom_request_->extra_headers); in DoCompletePartialCacheValidation() 2659 if (request_->extra_headers.HasHeader(HttpRequestHeaders::kRange)) in SetRequest() 2663 if (HeaderMatches(request_->extra_headers, special_header.search)) { in SetRequest() 2675 if (request_->extra_headers.GetHeader( in SetRequest() 2691 empty, &request_->extra_headers); in SetRequest() [all …]
|
D | http_vary_data_unittest.cc | 30 request.extra_headers.Clear(); in Init() 32 request.extra_headers.SetHeader(key, value); in Init()
|
D | bidirectional_stream_request_info.h | 41 HttpRequestHeaders extra_headers; member
|
D | http_network_layer_unittest.cc | 331 request_info.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in TEST_F() 371 request_info.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in TEST_F() 405 request_info.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in TEST_F()
|
/external/cronet/net/url_request/ |
D | report_sender.cc | 77 HttpRequestHeaders extra_headers; in Send() local 78 extra_headers.SetHeader(HttpRequestHeaders::kContentType, content_type); in Send() 79 url_request->SetExtraRequestHeaders(extra_headers); in Send()
|
D | url_request_http_job.cc | 347 request_info_.extra_headers.RemoveHeader(HttpRequestHeaders::kReferer); in OnGotFirstPartySetCacheFilterMatchInfo() 357 request_info_.extra_headers.SetHeader(HttpRequestHeaders::kReferer, in OnGotFirstPartySetCacheFilterMatchInfo() 361 request_info_.extra_headers.SetHeaderIfMissing( in OnGotFirstPartySetCacheFilterMatchInfo() 499 request_, request_info_.extra_headers, in StartTransaction() 519 request_info_.extra_headers = headers.value(); in NotifyBeforeStartTransactionCallback() 615 request_info_.extra_headers.SetAcceptEncodingIfMissing( in AddExtraHeaders() 625 request_info_.extra_headers.SetHeaderIfMissing( in AddExtraHeaders() 728 request_info_.extra_headers.SetHeader(HttpRequestHeaders::kCookie, in SetCookieHeaderAndStart() 1135 request_info_.extra_headers.RemoveHeader(HttpRequestHeaders::kCookie); in RestartTransactionWithAuth() 1162 request_info_.extra_headers.CopyFrom(headers); in SetExtraRequestHeaders()
|
/external/cronet/net/quic/ |
D | quic_proxy_client_socket.cc | 349 request_.extra_headers.MergeFrom(proxy_delegate_headers); in DoSendRequest() 354 &request_line, &request_.extra_headers); in DoSendRequest() 358 request_line, &request_.extra_headers); in DoSendRequest() 361 CreateSpdyHeadersFromHttpRequest(request_, request_.extra_headers, &headers); in DoSendRequest()
|
D | bidirectional_stream_quic_impl.cc | 117 http_request_info.extra_headers = request_info_->extra_headers; in WriteHeaders() 120 http_request_info.extra_headers, &headers); in WriteHeaders()
|
/external/python/cpython2/Lib/ |
D | xmlrpclib.py | 1366 extra_headers = [ 1370 extra_headers = None 1372 return host, extra_headers, x509 1427 extra_headers = self._extra_headers 1428 if extra_headers: 1429 if isinstance(extra_headers, DictType): 1430 extra_headers = extra_headers.items() 1431 for key, value in extra_headers:
|
/external/cronet/net/test/embedded_test_server/ |
D | controllable_http_response.cc | 77 const std::vector<std::string>& extra_headers) { in Send() argument 86 for (auto& header : extra_headers) in Send()
|
/external/cronet/net/data/websocket/ |
D | set-hsts_wsh.py | 12 request.extra_headers.append(
|