Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LMNOP (0.02 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        in1.close()
        call1.cancel()
        val call2 = client.newCall(newRequest("/"))
        val response2 = call2.execute()
        val in2 = response2.body.byteStream()
        assertThat(readAscii(in2, 5)).isEqualTo("LMNOP")
        in2.close()
        call2.cancel()
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        // Connection is pooled!
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top