- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for notRedirectedFromHttpToHttps (0.95 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
.build() val response = getResponse(newRequest("/")) assertThat(readAscii(response.body.byteStream(), Int.MAX_VALUE)) .isEqualTo("This page has moved!") } @Test fun notRedirectedFromHttpToHttps() { server.enqueue( MockResponse( code = HttpURLConnection.HTTP_MOVED_TEMP, headers = headersOf("Location", "https://anyhost/foo"), body = "This page has moved!",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0)