Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for responseRequestIsLastRedirect (0.51 sec)

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

            val suppressed = it.single()
            assertThat(suppressed).isInstanceOf(IOException::class.java)
            assertThat(suppressed).isNotSameAs(expected)
          }
        }
      }
    
      @Test
      fun responseRequestIsLastRedirect() {
        server.enqueue(
          MockResponse(
            code = 302,
            headers = headersOf("Location", "/b"),
          ),
        )
        server.enqueue(MockResponse())
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top