- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for followSslRedirects (0.07 sec)
-
okhttp/src/test/java/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())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
server.enqueue( 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)