/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpURLConnectionImpl.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 18 package com.squareup.okhttp.internal.http; 53 import static com.squareup.okhttp.internal.http.StatusLine.HTTP_TEMP_REDIRECT; 71 * and wget follow 20; Safari follows 16; and HTTP/1.0 recommends 5. 93 * connected yet, or if the most recent connection was HTTP (and not HTTPS). 320 * Aggressively tries to get the final HTTP response, potentially making 321 * many HTTP requests in the process in order to cope with redirects and 362 throw new HttpRetryException("Cannot retry streamed HTTP body", responseCode); 424 if (selectedProxy.type() != Proxy.Type.HTTP) { 457 if (!url.getProtocol().equals("https") && !url.getProtocol().equals("http")) { [all...] |
HttpEngine.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 18 package com.squareup.okhttp.internal.http; 53 import static com.squareup.okhttp.internal.http.StatusLine.HTTP_CONTINUE; 58 * Handles a single HTTP request/response pair. Each HTTP engine follows this 62 * <li>The HTTP request message is sent with sendRequest(). Once the request 66 * <li>The HTTP response message is read with readResponse(). After the 72 * <p>The request and response may be served by the HTTP response cache, by the 149 * @param request the HTTP request without a body. The body must be 287 * Called immediately before the transport transmits HTTP request headers [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
RouteSelectorTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 16 package com.squareup.okhttp.internal.http; 55 new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyAHost, proxyAPort)); 59 new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyBHost, proxyBPort)); 72 uri = new URI("http://" + uriHost + ":" + uriPort + "/path");
|
HttpOverSpdyTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 16 package com.squareup.okhttp.internal.http; 62 /** Test how SPDY interacts with HTTP features. */ 102 MockResponse response = new MockResponse().setBody("ABCDE").setStatus("HTTP/1.1 200 Sweet"); 112 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); 139 assertEquals("POST /foo HTTP/1.1", request.getRequestLine()); 156 assertEquals("POST /foo HTTP/1.1", request.getRequestLine()); 175 assertEquals("POST /foo HTTP/1.1", request.getRequestLine()); 192 assertEquals("POST /foo HTTP/1.1", request.getRequestLine()); 247 assertEquals("GET / HTTP/1.1", accepted.getRequestLine()) [all...] |
JavaApiConverterTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 package com.squareup.okhttp.internal.http; 147 String statusLine = "HTTP/1.1 200 Fantastic"; 162 assertEquals("http", serverUrl.getProtocol()); 207 final String statusLine = "HTTP/1.1 200 Fantastic"; 208 URI uri = new URI("http://foo/bar"); 236 final String statusLine = "HTTP/1.1 200 Fantastic"; 301 URI uri = new URI("http://foo/bar"); 336 javaRequestHeaders.put(null, Arrays.asList("GET / HTTP 1.1")); 428 final String statusLine = "HTTP/1.1 200 Fantastic" [all...] |
ResponseCacheTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 package com.squareup.okhttp.internal.http; 80 * {@link com.squareup.okhttp.internal.http.HttpResponseCacheTest}. Some tests for the 146 * http://code.google.com/p/android/issues/detail?id=8175 152 .setStatus("HTTP/1.1 200 Fantastic"); 255 assertEquals("GET /foo HTTP/1.1", request1.getRequestLine()); 260 assertEquals("GET /bar HTTP/1.1", request2.getRequestLine()); 266 assertEquals("GET /baz HTTP/1.1", request3.getRequestLine()); 300 * HttpsURLConnection was always HTTPS and HttpURLConnection was always HTTP; 383 fail("This implementation silently ignored a truncated HTTP body.") [all...] |
HttpResponseCacheTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 package com.squareup.okhttp.internal.http; 140 * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4 143 // Test each documented HTTP/1.1 code, plus the first unused value in each range. 144 // http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html 196 // the HTTP spec permits caching 410s, but the RI doesn't. 235 * populated. http://code.google.com/p/android/issues/detail?id=7787 242 .setStatus("HTTP/1.1 200 Fantastic") 267 /** Don't explode if the cache returns a null body. http://b/3373699 */ 307 * http://code.google.com/p/android/issues/detail?id=817 [all...] |
URLConnectionTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 package com.squareup.okhttp.internal.http; 87 import static com.squareup.okhttp.internal.http.OkHeaders.SELECTED_PROTOCOL; 88 import static com.squareup.okhttp.internal.http.StatusLine.HTTP_TEMP_REDIRECT; 123 System.clearProperty("http.proxyHost"); 124 System.clearProperty("http.proxyPort"); 206 server.enqueue(new MockResponse().setStatus("HTTP/1.0 200 Fantastic") 216 assertEquals("HTTP/1.0 200 Fantastic", connection.getHeaderField(null)); 218 assertEquals(Arrays.asList("HTTP/1.0 200 Fantastic"), responseHeaders.get(null)); 252 server.enqueue(new MockResponse().setStatus("HTTP/1.1 2147483648 OK")) [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultRequestDirector.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultRequestDirector.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.impl.client; 44 import org.apache.http.ConnectionReuseStrategy; 45 import org.apache.http.Header; 46 import org.apache.http.HttpEntity; 47 import org.apache.http.HttpEntityEnclosingRequest; 48 import org.apache.http.HttpException [all...] |
/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_edit_model.cc | 408 // (http://crbug.com/105689) 488 // Prefix the text with 'http://' if the text doesn't start with 'http://', 489 // the text parses as a url with a scheme of http, the user selected the 496 base::string16 http = base::ASCIIToUTF16(url::kHttpScheme) + local 498 if (text->compare(0, http.length(), http) != 0) 499 *text = http + *text; 578 // See http://crbug.com/165961 and http://crbug.com/165968 for more details [all...] |
/external/chromium_org/sync/internal_api/ |
sync_manager_impl_unittest.cc | 547 entity_specifics.mutable_bookmark()->set_url("http://www.google.com"); 564 entity_specifics.mutable_bookmark()->set_url("http://www.google.com"); 725 virtual void Destroy(HttpPostProviderInterface* http) OVERRIDE { 726 delete static_cast<TestHttpPostProviderInterface*>(http); variable [all...] |
/external/chromium_org/third_party/libevent/ |
http.c | 90 #include "http-internal.h" 192 /* wrapper for setting the base from the http server */ 375 * Create the headers needed for an HTTP request 387 evbuffer_add_printf(evcon->output_buffer, "%s %s HTTP/%d.%d\r\n", 457 * Create the headers needed for an HTTP reply 465 evbuffer_add_printf(evcon->output_buffer, "HTTP/%d.%d %d %s\r\n", 517 * Depending if this is a HTTP request or response, we might need to 643 * or an http layer error. for problems on the network 645 * For HTTP problems, we might have to send back a 1000 struct evhttp *http = evcon->http_server local 2190 struct evhttp *http = arg; local 2235 struct evhttp *http = arg; local 2307 struct evhttp *http = NULL; local 2326 struct evhttp *http = evhttp_new_object(); local 2340 struct evhttp *http = evhttp_new_object(); local 2570 struct evhttp *http = evcon->http_server; local [all...] |
/external/chromium_org/third_party/skia/tests/ |
PathOpsSkpClipTest.cpp | 440 const char http[] = "http"; local 441 if (testName.startsWith(http)) { 442 testName.remove(0, sizeof(http) - 1); [all...] |
/external/chromium_org/third_party/libaddressinput/src/java/ |
android.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.osgi.services_3.2.100.v20100503.jar | |
org.mortbay.jetty.util_6.1.23.v201004211559.jar | |
org.apache.commons.httpclient_3.1.0.v201005080502.jar | |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/network/ |
NetworkPanel.js | 90 WebInspector.NetworkLogView.HTTPSchemas = {"http": true, "https": true, "ws": true, "wss": true}; [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cloctst.c | 2702 static const char *http[] = { local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cloctst.c | 2703 static const char *http[] = { local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/interface/ |
abstract_tts.js | 509 'http': 'H T T P',
|
/external/chromium_org/third_party/libxml/src/ |
HTMLparser.c | 376 cur = xmlStrcasestr(start, BAD_CAST "HTTP-EQUIV"); 730 static const char* const meta_attrs[] = { I18N, "http-equiv", "name", "scheme", NULL } ; 3544 int http = 0; local [all...] |
/external/libxml2/ |
HTMLparser.c | 379 cur = xmlStrcasestr(start, BAD_CAST "HTTP-EQUIV"); 733 static const char* const meta_attrs[] = { I18N, "http-equiv", "name", "scheme", "charset", NULL } ; 3618 int http = 0; local [all...] |
/external/chromium_org/chrome/third_party/chromevox/ |
chromeVoxChromeBackgroundScript.js | 18 goog.base=function(a,b,c){var d=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!d)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(d.superClass_)return d.superClass_.constructor.apply(a,Array.prototype.slice.call(arguments,1));for(var e=Array.prototype.slice.call(arguments,2),f=!1,g=a.constructor;g;g=g.superClass_&&g.superClass_.constructor)if(g.prototype[b]===d)f=!0;else if(f)return g.prototype[b].apply(a, [all...] |
chromeVoxChromeOptionsScript.js | 18 goog.base=function(a,b,c){var d=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!d)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(d.superClass_)return d.superClass_.constructor.apply(a,Array.prototype.slice.call(arguments,1));for(var e=Array.prototype.slice.call(arguments,2),f=!1,g=a.constructor;g;g=g.superClass_&&g.superClass_.constructor)if(g.prototype[b]===d)f=!0;else if(f)return g.prototype[b].apply(a, [all...] |