Home
last modified time | relevance | path

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

12

/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.java518 if (protocols.contains(Protocol.HTTP_1_0)) { in setProtocols()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DProtocol.java38 HTTP_1_0("http/1.0"), enumConstant
85 if (protocol.equals(HTTP_1_0.protocol)) return HTTP_1_0; in get()
DOkHttpClient.java532 if (protocols.contains(Protocol.HTTP_1_0)) { in setProtocols()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DProtocol.java40 HTTP_1_0("http/1.0"), enumConstant
96 if (protocol.equals(HTTP_1_0.protocol)) return HTTP_1_0; in get()
DPlatform.java456 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. in configureTlsExtensions()
513 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. in configureTlsExtensions()
612 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. in concatLengthPrefixed()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DStatusLine.java45 protocol = Protocol.HTTP_1_0; in parse()
53 protocol = Protocol.HTTP_1_0; in parse()
85 result.append(protocol == Protocol.HTTP_1_0 ? "HTTP/1.0" : "HTTP/1.1"); in toString()
/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()
/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/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/src/main/java/com/squareup/okhttp/internal/
DPlatform.java372 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. in configureTlsExtensions()
465 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. in concatLengthPrefixed()
/external/okhttp/okhttp-logging-interceptor/src/main/java/com/squareup/okhttp/logging/
DHttpLoggingInterceptor.java251 return protocol == Protocol.HTTP_1_0 ? "HTTP/1.0" : "HTTP/1.1"; in protocol()
/external/okhttp/android/src/main/java/com/squareup/okhttp/internal/
DPlatform.java256 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. in concatLengthPrefixed()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internal/
DPlatform.java260 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. in concatLengthPrefixed()
/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()

12