Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for cancelWithStreamNotCompleted (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("")
        cookieJar.assertResponseCookies("a=b; path=/")
      }
    
      @Test
      fun cancelWithStreamNotCompleted() {
        server.enqueue(MockResponse(body = "abc"))
        server.enqueue(MockResponse(body = "def"))
    
        // Disconnect before the stream is created. A connection is still established!
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
Back to Top