Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for sameConnectionRedirectAndReuse (0.14 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        ).isEqualTo(0)
      }
    
      /**
       * Retry redirects if the socket is closed.
       * https://code.google.com/p/android/issues/detail?id=41576
       */
      @Test
      fun sameConnectionRedirectAndReuse() {
        server.enqueue(
          MockResponse
            .Builder()
            .code(HttpURLConnection.HTTP_MOVED_TEMP)
            .addHeader("Location", "/foo")
            .onResponseEnd(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
Back to Top