Home
last modified time | relevance | path

Searched refs:HTTP_1_0 (Results 1 – 22 of 22) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DProtocol.java36 HTTP_1_0("http/1.0"), enumConstant
83 if (protocol.equals(HTTP_1_0.protocol)) return HTTP_1_0; in get()
DOkHttpClient.java557 if (protocols.contains(Protocol.HTTP_1_0)) { in setProtocols()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DStatusLine.java43 protocol = Protocol.HTTP_1_0; in parse()
51 protocol = Protocol.HTTP_1_0; in parse()
83 result.append(protocol == Protocol.HTTP_1_0 ? "HTTP/1.0" : "HTTP/1.1"); in toString()
DRequestLine.java61 return protocol == Protocol.HTTP_1_0 ? "HTTP/1.0" : "HTTP/1.1"; in version()
DHttpEngine.java697 if ((connection == null || connection.getProtocol() != Protocol.HTTP_1_0) in networkRequest()
/external/jetty/src/java/org/eclipse/jetty/http/
DHttpVersions.java33 HTTP_1_0 = "HTTP/1.0", field in HttpVersions
45 HTTP_1_0_BUFFER=CACHE.add(HTTP_1_0,HTTP_1_0_ORDINAL),
/external/apache-http/src/org/apache/http/
DHttpVersion.java60 public static final HttpVersion HTTP_1_0 = new HttpVersion(1, 0); field in HttpVersion
95 return HTTP_1_0; in forVersion()
/external/apache-http/src/org/apache/http/impl/
DDefaultConnectionReuseStrategy.java108 ver.lessEquals(HttpVersion.HTTP_1_0)) { in keepAlive()
171 return !ver.lessEquals(HttpVersion.HTTP_1_0); in keepAlive()
/external/apache-http/src/org/apache/http/protocol/
DRequestExpectContinue.java76 && !ver.lessEquals(HttpVersion.HTTP_1_0)) { in process()
DHttpService.java163 response = this.responseFactory.newHttpResponse(HttpVersion.HTTP_1_0, in handleRequest()
205 (HttpVersion.HTTP_1_0, HttpStatus.SC_INTERNAL_SERVER_ERROR, in handleRequest()
DRequestTargetHost.java92 if (ver.lessEquals(HttpVersion.HTTP_1_0)) { in process()
DRequestContent.java85 if (ver.lessEquals(HttpVersion.HTTP_1_0)) { in process()
DResponseContent.java81 if (entity.isChunked() && !ver.lessEquals(HttpVersion.HTTP_1_0)) { in process()
DResponseConnControl.java93 (!entity.isChunked() || ver.lessEquals(HttpVersion.HTTP_1_0))) { in process()
DHttpRequestExecutor.java215 !ver.lessEquals(HttpVersion.HTTP_1_0)) { in doSendRequest()
/external/apache-http/src/org/apache/http/impl/entity/
DStrictContentLengthStrategy.java200 if (message.getProtocolVersion().lessEquals(HttpVersion.HTTP_1_0)) { in determineLength()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DStatusLineTest.java64 assertEquals(Protocol.HTTP_1_0, statusLine.protocol); in shoutcast()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java272 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. in configureTlsExtensions()
365 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. in concatLengthPrefixed()
/external/okhttp/android/main/java/com/squareup/okhttp/internal/
DPlatform.java129 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. in concatLengthPrefixed()
/external/apache-http/android/src/android/net/http/
DConnection.java525 if (!entity.isChunked() || ver.lessEquals(HttpVersion.HTTP_1_0)) { in keepAlive()
539 return !ver.lessEquals(HttpVersion.HTTP_1_0); in keepAlive()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DOkHttpClientTest.java190 client.setProtocols(Arrays.asList(Protocol.HTTP_1_0, Protocol.HTTP_1_1)); in setProtocolsRejectsHttp10()
/external/jetty/src/java/org/eclipse/jetty/server/
DResponse.java1100 … if (HttpVersions.HTTP_1_0.equalsIgnoreCase(_connection.getRequest().getProtocol())) in reset()