Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for networkInterceptorReturnsConnectionOnEmptyBody (0.45 sec)

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

          assertThat(throwables!!).contains(boom)
          Unit
        }
        assertThat(call.isCanceled()).isTrue()
        assertThat(executor.takeException()).isEqualTo(boom)
      }
    
      @Test
      fun networkInterceptorReturnsConnectionOnEmptyBody() {
        server.enqueue(
          MockResponse
            .Builder()
            .onResponseEnd(ShutdownConnection)
            .addHeader("Connection", "Close")
            .build(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top