- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for proxyAuthenticateOnConnect (1.91 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
} /** Respond to a proxy authorization challenge. */ @ParameterizedTest @ArgumentsSource(ProtocolParamProvider::class) fun proxyAuthenticateOnConnect(protocol: Protocol) { setUp(protocol) server.enqueue( MockResponse .Builder() .code(407) .headers(headersOf("Proxy-Authenticate", "Basic realm=\"localhost\""))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
val get = server.takeRequest() assertThat(get.headers["Private"]).isEqualTo("Secret") assertThat(hostnameVerifier.calls).isEqualTo(listOf("verify android.com")) } @Test fun proxyAuthenticateOnConnect() { java.net.Authenticator.setDefault(RecordingAuthenticator()) server.useHttps(handshakeCertificates.sslSocketFactory()) server.enqueue( MockResponse .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
}.also { expected -> assertThat(expected).hasMessage("unexpected end of stream") } } /** Respond to a proxy authorization challenge. */ @Test fun proxyAuthenticateOnConnect() { server.useHttps(handshakeCertificates.sslSocketFactory()) server.enqueue( MockResponse .Builder() .code(407)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0)