Searched refs:headers (Results 251 - 275 of 974) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/components/captive_portal/
H A Dcaptive_portal_detector.cc95 net::HttpResponseHeaders* headers = url_fetcher->GetResponseHeaders(); local
99 if (!headers->EnumerateHeader(NULL, "Retry-After", &retry_after_string))
107 } else if (headers->GetTimeValuedHeader("Retry-After", &full_date)) {
/external/chromium_org/components/navigation_interception/
H A Dintercept_navigation_resource_throttle.cc92 net::HttpResponseHeaders* headers = request_->response_headers(); local
93 if (!headers)
98 request_->method(), headers->response_code());
/external/chromium_org/components/policy/core/common/cloud/
H A Dpolicy_header_service_unittest.cc57 void ValidateHeader(const net::HttpRequestHeaders& headers, argument
61 EXPECT_TRUE(headers.IsEmpty());
65 EXPECT_TRUE(headers.GetHeader(kPolicyHeaderName, &header));
/external/chromium_org/google_apis/drive/
H A Ddrive_api_requests_unittest.cc259 request.headers.find("X-Upload-Content-Length");
260 if (found == request.headers.end() ||
285 request.headers.find("Content-Range");
286 if (iter == request.headers.end()) {
462 EXPECT_EQ("application/json", http_request_.headers["Content-Type"]);
525 EXPECT_EQ("application/json", http_request_.headers["Content-Type"]);
710 EXPECT_EQ("application/json", http_request_.headers["Content-Type"]);
747 EXPECT_EQ("application/json", http_request_.headers["Content-Type"]);
828 EXPECT_EQ(kTestETag, http_request_.headers["If-Match"]);
890 EXPECT_EQ("application/json", http_request_.headers["Conten
[all...]
/external/chromium_org/net/http/
H A Dhttp_request_headers.h5 // HttpRequestHeaders manages the request headers.
7 // the order of the headers. This means that any lookups are linear time
38 explicit Iterator(const HttpRequestHeaders& headers);
95 // Clears all the headers.
126 // Same thing as AddHeaderFromString() except that |headers| is a "\r\n"
129 void AddHeadersFromString(const base::StringPiece& headers);
149 // containing both the request line and all headers fields.
154 // request line and create a copy of the original headers. Returns true on
155 // success. On failure, clears |headers| and |request_line|.
159 HttpRequestHeaders* headers,
[all...]
H A Dhttp_stream_parser_unittest.cc257 // This will attempt to Write() the initial request and headers, which will
304 // Attempt to read the response status and the response headers.
418 EXPECT_TRUE(response_info.headers.get());
422 EXPECT_TRUE(response_info.headers.get());
425 EXPECT_FALSE(response_info.headers.get());
432 // Confirm that on 101 response, the headers are parsed but the data that
482 ASSERT_TRUE(response_info.headers.get());
483 EXPECT_EQ(101, response_info.headers->response_code());
484 EXPECT_TRUE(response_info.headers->HasHeaderValue("Connection", "Upgrade"));
485 EXPECT_TRUE(response_info.headers
599 std::string headers = "HTTP/1.1 200 OK\\r\\n" local
620 std::string headers = "HTTP/1.1 200 OK\\r\\n" local
651 std::string headers = "HTTP/1.1 200 OK\\r\\n" local
683 std::string headers = "HTTP/1.1 200 OK\\r\\n" local
755 std::string headers = "HTTP/1.1 200 OK\\r\\n" local
784 std::string headers = "HTTP/1.1 200 OK\\r\\n" local
[all...]
H A Dhttp_network_transaction.cc75 const HttpResponseHeaders& headers,
77 if (!headers.HasHeader(kAlternateProtocolHeader))
83 while (headers.EnumerateHeader(&iter, kAlternateProtocolHeader,
150 HttpResponseHeaders* headers = GetResponseHeaders(); local
157 (!headers || headers->IsKeepAlive());
346 scoped_refptr<HttpResponseHeaders> headers(GetResponseHeaders());
347 if (headers_valid_ && headers.get() && stream_request_.get()) {
358 DCHECK_EQ(headers->response_code(), HTTP_PROXY_AUTHENTICATION_REQUIRED);
360 << headers
73 ProcessAlternateProtocol( HttpNetworkSession* session, const HttpResponseHeaders& headers, const HostPortPair& http_host_port_pair) argument
1099 HttpResponseHeaders* headers = GetResponseHeaders(); local
[all...]
/external/chromium_org/net/quic/
H A Dquic_spdy_server_stream.cc39 // Are we still reading the request headers.
47 // Try parsing the request headers. This will set request_headers_received_
63 SendErrorResponse(); // We're not done reading headers.
79 // Try parsing the request headers. If successful, sets
102 // Add any data past the headers to the request body.
132 SendHeadersAndBody(response->headers(), response->body());
137 scoped_refptr<HttpResponseHeaders> headers local
140 SendHeadersAndBody(*headers.get(), "bad");
/external/chromium_org/net/spdy/
H A Dspdy_proxy_client_socket.cc73 return response_.headers.get() ? &response_ : NULL;
267 response_.headers->response_code(),
369 scoped_ptr<SpdyHeaderBlock> headers(new SpdyHeaderBlock());
372 headers.get());
375 (*headers)[":path"] = endpoint_.ToString();
376 headers->erase(":scheme");
378 (*headers)["url"] = endpoint_.ToString();
379 headers->erase("scheme");
382 return spdy_stream_->SendRequestHeaders(headers.Pass(), MORE_DATA_TO_SEND);
402 if (response_.headers
[all...]
/external/chromium_org/net/tools/balsa/
H A Dbalsa_frame.cc52 // Constants holding some header names for headers which can affect the way the
209 // headers is a valid pointer to a BalsaHeaders class.
216 // headers will be modified
227 // ProcessFirstLine(begin, end, is_request, &headers, &error_code);
233 BalsaHeaders* headers,
265 << headers->OriginalHeadersForDebugging();
275 << headers->OriginalHeadersForDebugging();
284 << headers->OriginalHeadersForDebugging();
289 headers->whitespace_1_idx_ = current - begin;
291 // true only because we don't begin parsing the headers a
229 ParseHTTPFirstLine(const char* begin, const char* end, bool is_request, size_t max_request_uri_length, BalsaHeaders* headers, BalsaFrameEnums::ErrorCode* error_code) argument
[all...]
/external/chromium_org/net/tools/quic/
H A Dquic_spdy_client_stream_test.cc72 EXPECT_EQ(200u, stream_->headers().parsed_response_code());
81 EXPECT_EQ(200u, stream_->headers().parsed_response_code());
90 // The headers should parse successfully.
92 EXPECT_EQ(200u, stream_->headers().parsed_response_code());
/external/valgrind/main/auxprogs/
H A Dgen-mdg64 --headers=no|yes show headers, ie. show module-to-module deps only
77 # --headers=yes|no
78 if ($arg =~ /^--headers=(yes|no)$/) {
/external/chromium_org/net/server/
H A Dhttp_server_unittest.cc157 // Check end of headers first.
166 scoped_refptr<HttpResponseHeaders> headers(new HttpResponseHeaders(
168 return body_size >= headers->GetContentLength();
274 ASSERT_EQ(0u, GetRequest(0).headers.size());
292 std::string headers; local
294 headers +=
298 client.Send("GET /test HTTP/1.1\r\n" + headers + "\r\n");
305 ASSERT_EQ(1u, GetRequest(0).headers.count(field)) << field;
306 ASSERT_EQ(value, GetRequest(0).headers[field]) << kHeaders[i][0];
320 std::string headers; local
352 std::string headers; local
[all...]
/external/openssl/crypto/asn1/
H A Dasn_mime.c355 /* MIME headers */
435 STACK_OF(MIME_HEADER) *headers = NULL;
444 if (!(headers = mime_parse_hdr(bio))) {
449 if(!(hdr = mime_hdr_find(headers, "content-type")) || !hdr->value) {
450 sk_MIME_HEADER_pop_free(headers, mime_hdr_free);
461 sk_MIME_HEADER_pop_free(headers, mime_hdr_free);
466 sk_MIME_HEADER_pop_free(headers, mime_hdr_free);
476 if (!(headers = mime_parse_hdr(asnin))) {
484 if(!(hdr = mime_hdr_find(headers, "content-type")) ||
486 sk_MIME_HEADER_pop_free(headers, mime_hdr_fre
[all...]
/external/apache-http/src/org/apache/http/
H A DHttpMessage.java68 * Returns all the headers with a specified name of this message. Header values
72 * @param name the name of the headers to return.
73 * @return the headers whose name property equals <code>name</code>.
103 * Returns all the headers of this message. Headers are orderd in the sequence
106 * @return all the headers of this message
145 * Overwrites all the headers in the message.
147 * @param headers the array of headers to set.
149 void setHeaders(Header[] headers); argument
159 * Removes all headers wit
[all...]
/external/apache-http/src/org/apache/http/impl/conn/
H A DDefaultClientConnection.java75 private final Log headerLog = LogFactory.getLog("org.apache.http.headers");
243 Header[] headers = response.getAllHeaders();
244 for (Header header : headers) {
257 Header[] headers = request.getAllHeaders();
258 for (Header header : headers) {
/external/chromium_org/android_webview/browser/
H A Daw_resource_context.h25 void SetExtraHeaders(const GURL& url, const std::string& headers);
H A Daw_web_resource_response.h36 // If true is returned then |headers| contain the headers, if false is
37 // returned |headers| were not updated.
40 net::HttpResponseHeaders* headers) const = 0;
/external/chromium_org/android_webview/native/
H A Daw_web_resource_response_impl.h36 net::HttpResponseHeaders* headers) const OVERRIDE;
/external/chromium_org/chrome/browser/chromeos/login/test/
H A Dhttps_forwarder.py44 self._forward(self.rfile.read(int(self.headers['Content-Length'])))
60 headers = dict((key, value) for key, value in dict(self.headers).iteritems()
63 forward = opener.open(urllib2.Request(url, body, headers))
76 # commas inserted by Python while folding multiple headers and commas that
77 # were part of the original Set-Cookie headers.
/external/chromium_org/chrome/browser/resources/net_internals/
H A Dlog_view_painter.js244 // If headers are in an object, convert them to an array for better display.
296 if (key == 'headers' && value instanceof Array) {
437 * If entry.param.headers exists and is an object other than an array, converts
442 // If there are no headers, or it is not an object other than an array,
444 if (!entry.params || entry.params.headers === undefined ||
445 typeof entry.params.headers != 'object' ||
446 entry.params.headers instanceof Array) {
455 // Convert headers to an array.
456 var headers = [];
457 for (var key in entry.params.headers)
[all...]
/external/chromium_org/chrome/browser/sync/test/
H A Dtest_http_bridge_factory.h17 virtual void SetExtraRequestHeaders(const char * headers) OVERRIDE {}
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dmedia_galleries_dialog_views_unittest.cc40 std::vector<base::string16> headers; variable
41 headers.push_back(base::string16());
42 headers.push_back(base::ASCIIToUTF16("header2"));
44 WillByDefault(Return(headers));
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/css/
H A Dplugin_list.css78 .column-headers {
83 .column-headers > div {
/external/chromium_org/components/data_reduction_proxy/browser/
H A Ddata_reduction_proxy_delegate.cc36 net::HttpRequestHeaders* headers) {
33 OnBeforeSendHeaders( net::URLRequest* request, const net::ProxyInfo& proxy_info, net::HttpRequestHeaders* headers) argument

Completed in 446 milliseconds

<<11121314151617181920>>