/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/ |
SimpleContentHandler.java | 40 * Called after headers are parsed.
42 public abstract void headers(Header header);
method in class:SimpleContentHandler 83 headers(tmp);
|
/system/core/libnl_2/ |
Android.mk | 18 external/libnl-headers
|
/external/chromium/net/http/ |
http_cache_unittest.cc | 778 response.headers->GetNormalizedHeaders(response_headers); 875 // We want to make sure we don't delete extra headers. 962 // Verifies the response headers (|response|) match a partial content 967 scoped_refptr<net::HttpResponseHeaders> headers( 970 ASSERT_EQ(206, headers->response_code()); 974 headers->GetContentRange(&range_start, &range_end, &object_size)); 975 int64 content_length = headers->GetContentLength(); 996 response.headers = new net::HttpResponseHeaders(raw_headers); 1014 trans->response_headers = headers; 1019 return std::string(status) + "\n" + std::string(headers); 1023 const char* headers; member in struct:__anon3614::Response 2906 std::string headers; local 2937 std::string headers; local 2997 std::string headers; local 3045 std::string headers; local 3086 std::string headers; local 3119 std::string headers; local 3149 std::string headers; local 3186 std::string headers; local 3220 std::string headers; local 3258 std::string headers; local 3287 std::string headers; local 3320 std::string headers; local 3358 std::string headers; local 3423 std::string headers; local 3467 std::string headers; local 3509 std::string headers; local 3542 std::string headers; local 3597 std::string headers; local 3637 std::string headers; local 3810 std::string headers; local 3838 std::string headers; local 3867 std::string headers; local 3914 std::string headers; local 3968 std::string headers; local 4320 std::string headers; local 4368 std::string headers; local 4405 std::string headers; local 4439 std::string headers; local 4529 std::string headers; local 4868 std::string headers; local [all...] |
http_auth.cc | 26 const HttpResponseHeaders* headers, 40 while (headers->EnumerateHeader(&iter, header_name, &cur_challenge)) { 59 const HttpResponseHeaders* headers, 64 DCHECK(headers); 76 while (headers->EnumerateHeader(&iter, header_name, &challenge)) {
|
http_response_info.cc | 80 headers(rhs.headers), 99 headers = rhs.headers; 132 // read response-headers 133 headers = new HttpResponseHeaders(pickle, &iter); 134 DCHECK_NE(headers->response_code(), -1); 225 headers->Persist(pickle, persist_options);
|
http_cache_transaction.cc | 47 // If the request includes one of these request headers, then avoid caching 66 // If the request includes one of these request headers, then avoid reusing 74 // If the request includes one of these request headers, then force our 81 static bool HeaderMatches(const HttpRequestHeaders& headers, 85 if (!headers.GetHeader(search->name, &header_value)) 148 cancel_request &= (response_.headers->response_code() == 200); 283 DCHECK(auth_response_.headers); 323 if (auth_response_.headers && mode_ != NONE) { 364 // Null headers means we encountered an error or haven't a response yet 365 if (auth_response_.headers) 909 HttpRequestHeaders headers = request_->extra_headers; local 1740 const HttpResponseHeaders* headers = new_response_->headers; local [all...] |
/external/chromium/net/tools/flip_server/ |
http_interface.cc | 48 void HttpSM::ProcessHeaders(const BalsaHeaders& headers) { 51 UrlUtilities::GetUrlHost(headers.GetHeader("Host").as_string()); 52 std::string method = headers.request_method().as_string(); 54 << headers.request_uri().as_string() << " " << method; 55 std::string filename = EncodeURL(headers.request_uri().as_string(), 63 sm_spdy_interface_->SendSynReply(stream_id_, headers); 225 size_t HttpSM::SendSynStream(uint32 stream_id, const BalsaHeaders& headers) { 229 size_t HttpSM::SendSynReply(uint32 stream_id, const BalsaHeaders& headers) { 230 return SendSynReplyImpl(stream_id, headers); 271 size_t HttpSM::SendSynReplyImpl(uint32 stream_id, const BalsaHeaders& headers) { [all...] |
balsa_frame.h | 28 // It exists as a proof of concept headers framer. 59 // The method set_balsa_headers clears the headers provided and attaches them 63 void set_balsa_headers(BalsaHeaders* headers) { 64 if (headers_ != headers) { 65 headers_ = headers; 68 // Clear the headers if they are non-null, even if the new headers are 125 const BalsaHeaders* headers() const { return headers_; } function in class:net::BalsaFrame 210 virtual void ProcessHeaders(const BalsaHeaders& headers) {}
|
http_interface.h | 40 virtual void ProcessHeaders(const BalsaHeaders& headers); 101 virtual size_t SendSynStream(uint32 stream_id, const BalsaHeaders& headers); 102 virtual size_t SendSynReply(uint32 stream_id, const BalsaHeaders& headers); 110 size_t SendSynReplyImpl(uint32 stream_id, const BalsaHeaders& headers); 111 size_t SendSynStreamImpl(uint32 stream_id, const BalsaHeaders& headers);
|
spdy_interface.h | 93 virtual size_t SendSynStream(uint32 stream_id, const BalsaHeaders& headers); 94 virtual size_t SendSynReply(uint32 stream_id, const BalsaHeaders& headers); 109 void CopyHeaders(spdy::SpdyHeaderBlock& dest, const BalsaHeaders& headers); 110 size_t SendSynStreamImpl(uint32 stream_id, const BalsaHeaders& headers); 111 size_t SendSynReplyImpl(uint32 stream_id, const BalsaHeaders& headers);
|
streamer_interface.h | 60 virtual size_t SendSynStream(uint32 stream_id, const BalsaHeaders& headers); 61 virtual size_t SendSynReply(uint32 stream_id, const BalsaHeaders& headers); 74 size_t SendSynReplyImpl(uint32 stream_id, const BalsaHeaders& headers) { 77 size_t SendSynStreamImpl(uint32 stream_id, const BalsaHeaders& headers) { 86 virtual void ProcessHeaders(const BalsaHeaders& headers);
|
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractMessageParser.java | 84 * Parses HTTP headers from the data receiver stream according to the generic 88 * @param maxHeaderCount maximum number of headers allowed. If the number 89 * of headers received from the data stream exceeds maxCount value, an 94 * @return array of HTTP headers 127 // Check for folded headers first 129 // discussion on folded headers 156 Header[] headers = new Header[headerLines.size()]; local 160 headers[i] = parser.parseHeader(buffer); 165 return headers; 178 Header[] headers = AbstractMessageParser.parseHeaders local [all...] |
/external/oauth/core/src/main/java/net/oauth/client/ |
URLConnectionResponse.java | 40 * from OAuth WWW-Authenticate headers and the body. The header parameters 50 this.headers.addAll(getHeaders()); 76 List<Map.Entry<String, String>> headers = new ArrayList<Map.Entry<String, String>>(); local 82 headers.add(new OAuth.Parameter(name, value)); 89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection 92 return headers;
|
/external/webkit/Source/WebCore/inspector/front-end/ |
HAREntry.js | 62 headers: this._buildHeaders(this._resource.requestHeaders), 79 headers: this._buildHeaders(this._resource.responseHeaders), 131 _buildHeaders: function(headers) 134 for (var name in headers) 135 result.push({ name: name, value: headers[name] });
|
/external/webkit/Source/WebCore/platform/network/cf/ |
ResourceResponseCFNet.cpp | 108 RetainPtr<CFDictionaryRef> headers(AdoptCF, CFHTTPMessageCopyAllHeaderFields(httpResponse)); 112 if (CFDictionaryGetValueIfPresent(headers.get(), commonHeaderFields[i], (const void **)&value)) 125 RetainPtr<CFDictionaryRef> headers(AdoptCF, CFHTTPMessageCopyAllHeaderFields(httpResponse)); 126 CFIndex headerCount = CFDictionaryGetCount(headers.get()); 129 CFDictionaryGetKeysAndValues(headers.get(), keys.data(), values.data());
|
/frameworks/base/core/tests/utillib/src/coretestutils/http/ |
MockResponse.java | 44 private Map<String, String> headers = new HashMap<String, String>(); field in class:MockResponse 69 * Returns the HTTP headers, such as "Content-Length: 0". 73 for (String header : headers.keySet()) { 74 headerStrings.add(header + ": " + headers.get(header)); 80 headers.put(header.toLowerCase(), value); 89 headers.remove(header.toLowerCase());
|
/packages/apps/Browser/src/com/android/browser/ |
PreloadRequestReceiver.java | 99 Map<String, String> headers = null; local 116 headers = new HashMap<String, String>(); 119 headers.put(key, pairs.getString(key)); 127 headers + ", " + sbQuery + ")"); 129 Preloader.getInstance().handlePreloadRequest(id, url, headers, sbQuery);
|
/external/chromium/third_party/libevent/test/ |
regress_http.c | 221 /* For multi-line headers test */ 987 struct evkeyvalq headers; local 991 TAILQ_INIT(&headers); 993 if (evhttp_add_header(&headers, "One", "Two") != 0) 996 if (evhttp_add_header(&headers, "One\r", "Two") != -1) 998 if (evhttp_add_header(&headers, "One", "Two") != 0) 1000 if (evhttp_add_header(&headers, "One", "Two\r\n Three") != 0) 1002 if (evhttp_add_header(&headers, "One\r", "Two") != -1) 1004 if (evhttp_add_header(&headers, "One\n", "Two") != -1) 1006 if (evhttp_add_header(&headers, "One", "Two\r") != -1 1035 struct evkeyvalq headers; local [all...] |
/frameworks/base/core/java/android/net/http/ |
AndroidHttpClientConnection.java | 249 * Sends the request line and all headers over the connection. 250 * @param request the request whose headers to send. 295 * Parses the response headers and adds them to the 296 * given {@code headers} object, and returns the response StatusLine 297 * @param headers store parsed header to headers. 302 public StatusLine parseResponseHeader(Headers headers) 334 // Check for folded headers first 336 // discussion on folded headers [all...] |
/frameworks/base/obex/javax/obex/ |
ServerSession.java | 253 * @param header the headers to include in the response 308 byte[] headers = new byte[length - 5]; 309 bytesReceived = mInput.read(headers); 311 while (bytesReceived != headers.length) { 312 bytesReceived += mInput.read(headers, bytesReceived, headers.length 316 ObexHelper.updateHeaderSet(request, headers); 398 * Byte 1&2: Connect Packet Length Byte 3 to n: headers 429 byte[] headers = new byte[length - 3]; 430 bytesReceived = mInput.read(headers); [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/ |
chrome_ex_oauth.js | 143 * "headers" {Object} Additional headers to include in the request. 150 var headers = opt_params && opt_params['headers'] || {}; 154 ChromeExOAuth.sendRequest(method, signedUrl, headers, body, function (xhr) { 282 * @param {Object} headers Optional request headers in key/value format. 288 ChromeExOAuth.sendRequest = function(method, url, headers, body, callback) { 294 if (headers) { 295 for (var header in headers) { [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/oauth_contacts/ |
chrome_ex_oauth.js | 143 * "headers" {Object} Additional headers to include in the request. 150 var headers = opt_params && opt_params['headers'] || {}; 154 ChromeExOAuth.sendRequest(method, signedUrl, headers, body, function (xhr) { 282 * @param {Object} headers Optional request headers in key/value format. 288 ChromeExOAuth.sendRequest = function(method, url, headers, body, callback) { 294 if (headers) { 295 for (var header in headers) { [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/wave/ |
chrome_ex_oauth.js | 143 * "headers" {Object} Additional headers to include in the request. 150 var headers = opt_params && opt_params['headers'] || {}; 154 ChromeExOAuth.sendRequest(method, signedUrl, headers, body, function (xhr) { 282 * @param {Object} headers Optional request headers in key/value format. 288 ChromeExOAuth.sendRequest = function(method, url, headers, body, callback) { 294 if (headers) { 295 for (var header in headers) { [all...] |
/external/chromium/chrome/browser/resources/picasaweb_uploader/js/ |
picasa_client.js | 229 * @param {Object.<string, string>} headers Request headers. 233 sendRequest: function(method, url, headers, body, callback) { 241 if (headers) { 242 for (var header in headers) { 243 if (headers.hasOwnProperty(header)) { 244 xhr.setRequestHeader(header, headers[header]); 258 var headers = {'Authorization': 'GoogleLogin auth=' + this.authToken_}; 259 this.sendRequest('GET', url + '?alt=json', headers, null, function(xhr) { 272 * @param {Object.<string, string>} headers Request headers [all...] |
/external/chromium/chrome/browser/net/ |
chrome_dns_cert_provenance_checker.cc | 55 net::HttpRequestHeaders headers; local 56 headers.SetHeader(net::HttpRequestHeaders::kContentType, 58 url_request->SetExtraRequestHeaders(headers);
|