- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for HTTP_1_1 (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
server.useHttps(handshakeCertificates.sslSocketFactory()) server.protocols = when { http2 -> listOf(Protocol.HTTP_2, Protocol.HTTP_1_1) else -> listOf(Protocol.HTTP_1_1) } server.enqueue( MockResponse .Builder() .inTunnel() .build(), ) client = client .newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
enableProtocol(protocol) server.enqueue( MockResponse(body = "A"), ) client = client .newBuilder() .protocols(Arrays.asList(protocol, Protocol.HTTP_1_1)) .build() val response = getResponse(newRequest("/")) assertThat(response.protocol).isEqualTo(protocol) assertContent("A", response) } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0)