- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for followSslRedirects (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
headers = headersOf("Location", "http://anyhost/foo"), body = "This page has moved!", ), ) client = client .newBuilder() .followSslRedirects(false) .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ).hostnameVerifier(RecordingHostnameVerifier()) .build()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
MockResponse( code = 301, headers = headersOf("Location", "http://square.com"), ), ) client = client .newBuilder() .followSslRedirects(false) .build() val request = Request.Builder().url(server.url("/")).build() val response = client.newCall(request).execute() assertThat(response.code).isEqualTo(301)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0)