Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for closeAfterFlush (1.27 seconds)

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

        assertArrayEquals(postBytes, request.body?.toByteArray())
        assertThat(request.headers["Content-Length"]!!.toInt()).isEqualTo(postBytes.size)
      }
    
      @Test
      fun closeAfterFlush() {
        val postBytes = "FGHIJ".toByteArray()
        server.enqueue(MockResponse(body = "ABCDE"))
        val call =
          client.newCall(
            Request(
              url = server.url("/foo"),
              body =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
Back to Top