Searched refs:headers (Results 351 - 375 of 974) sorted by relevance

<<11121314151617181920>>

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DResponseCacheAdapterTest.java95 public CacheResponse get(URI uri, String method, Map<String, List<String>> headers) throws IOException {
98 assertTrue("Arbitrary standard header not present", headers.containsKey("User-Agent"));
99 assertEquals(Collections.singletonList("value1"), headers.get("key1"));
117 public CacheResponse get(URI uri, String method, Map<String, List<String>> headers)
122 assertTrue("Arbitrary standard header not present", headers.containsKey("User-Agent"));
123 assertEquals(Collections.singletonList("value1"), headers.get("key1"));
/external/apache-http/src/org/apache/http/message/
H A DAbstractHttpMessage.java124 public void setHeaders(final Header[] headers) { argument
125 this.headergroup.setHeaders(headers);
/external/chromium-trace/
H A Dupdate.py67 headers = { "Content-type": "application/x-www-form-urlencoded" } variable
69 conn.request('POST', '/compile', params, headers)
/external/chromium_org/android_webview/browser/net/
H A Dandroid_stream_reader_url_request_job.h71 net::HttpResponseHeaders* headers) = 0;
88 const net::HttpRequestHeaders& headers) OVERRIDE;
/external/chromium_org/android_webview/native/
H A Daw_web_resource_response_impl.cc75 net::HttpResponseHeaders* headers) const {
95 headers->AddHeader(header_line);
/external/chromium_org/chrome/browser/resources/options/
H A Dhandler_options.css5 .handlers-column-headers {
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
H A Dindex.php62 * @param array $extraHeaders (optional) Array of headers.
63 * @param bool $returnResponseHeaders True if resp headers should be returned.
75 // Return request headers in the response.
78 // Return response headers in the response?
83 $headers = array($request->to_header()); variable
85 $headers = array_merge($headers, $extraHeaders); variable
87 curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
95 // Add server's response headers to our response body
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dpatch_servlet.py107 self._request.headers),
110 response.headers.pop('cache-control', None)
/external/chromium_org/chrome/test/chromedriver/third_party/googlecode/
H A Dgooglecode_upload.py98 headers = {
105 server.request('POST', upload_uri, body, headers)
/external/chromium_org/components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/
H A DMockUrlRequestJobTest.java70 HashMap<String, String> headers = new HashMap<String, String>();
76 headers,
/external/chromium_org/components/policy/core/common/cloud/
H A Dpolicy_header_io_helper_unittest.cc38 void ValidateHeader(const net::HttpRequestHeaders& headers, argument
41 EXPECT_TRUE(headers.GetHeader(kPolicyHeaderName, &header));
/external/chromium_org/content/browser/loader/
H A Dsync_resource_handler.cc87 result_.headers = response->head.headers;
/external/chromium_org/content/child/
H A Dweb_url_loader_impl.cc81 // Skip over referrer headers found in the header map because we already
185 scoped_refptr<net::HttpResponseHeaders> headers(
188 url, &mime_type, &charset, data, headers.get());
192 info->headers = headers;
338 // Required by LayoutTests/http/tests/misc/refresh-headers.php
385 request_info.headers = flattener.GetBuffer();
562 if (info.headers.get() && info.mime_type == "multipart/x-mixed-replace") {
564 info.headers->EnumerateHeader(NULL, "content-type", &content_type);
776 // If there's no received headers en
820 const net::HttpResponseHeaders* headers = info.headers.get(); local
[all...]
/external/chromium_org/content/shell/browser/
H A Dshell_network_delegate.cc37 net::HttpRequestHeaders* headers) {
43 const net::HttpRequestHeaders& headers) {
34 OnBeforeSendHeaders( net::URLRequest* request, const net::CompletionCallback& callback, net::HttpRequestHeaders* headers) argument
41 OnSendHeaders( net::URLRequest* request, const net::HttpRequestHeaders& headers) argument
H A Dshell_network_delegate.h28 net::HttpRequestHeaders* headers) OVERRIDE;
30 const net::HttpRequestHeaders& headers) OVERRIDE;
/external/chromium_org/net/ocsp/
H A Dnss_ocsp_unittest.cc45 AiaResponseHandler(const std::string& headers, const std::string& cert_data) argument
46 : headers_(headers), cert_data_(cert_data), request_count_(0) {}
/external/chromium_org/net/proxy/
H A Dnetwork_delegate_error_observer_unittest.cc35 HttpRequestHeaders* headers) OVERRIDE {
39 const HttpRequestHeaders& headers) OVERRIDE {}
/external/chromium_org/net/spdy/
H A Dspdy_test_util_common.h77 // Adds headers and values to a map.
81 // |headers| gets filled in from |extra_headers|.
84 SpdyHeaderBlock* headers);
305 // Add the appropriate headers to put |url| into |block|.
307 SpdyHeaderBlock* headers) const;
324 // specified in header_info.kind), the provided headers are included in the
328 scoped_ptr<SpdyHeaderBlock> headers) const;
331 // specified in header_info.kind), the headers provided in extra_headers and
342 scoped_ptr<SpdyHeaderBlock> headers,
368 // Construct an expected SPDY reply string from the given headers
[all...]
H A Dspdy_websocket_stream.cc54 int SpdyWebSocketStream::SendRequest(scoped_ptr<SpdyHeaderBlock> headers) { argument
59 int result = stream_->SendRequestHeaders(headers.Pass(), MORE_DATA_TO_SEND);
/external/chromium_org/remoting/webapp/
H A Doauth2_api.js182 var headers = { 'Authorization': 'OAuth ' + token };
184 onResponse, '', headers);
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DFetchRequestData.cpp38 for (HTTPHeaderMap::const_iterator it = webRequest.headers().begin(); it != webRequest.headers().end(); ++it)
H A DRequestInit.cpp25 DictionaryHelper::get(options, "headers", headers);
26 if (!headers) {
27 DictionaryHelper::get(options, "headers", headersDictionary);
/external/chromium_org/third_party/icu/source/tools/ctestfw/
H A Dtestdata.cpp53 RBTestData::RBTestData(UResourceBundle *data, UResourceBundle *headers, UErrorCode& status) argument
56 fHeaders(headers),
/external/chromium_org/third_party/icu/source/tools/ctestfw/unicode/
H A Ddatamap.h114 RBDataMap(UResourceBundle *headers, UResourceBundle *data, UErrorCode &status);
118 void init(UResourceBundle *headers, UResourceBundle *data, UErrorCode &status);
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
H A Dinspector_network_unittest.py54 self.assertTrue(resp.headers)
55 self.assertTrue(resp.headers['Content-Length'])

Completed in 530 milliseconds

<<11121314151617181920>>