Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for closeAfterFlush (0.06 sec)

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

        assertThat(request.headers["Content-Length"]!!.toInt()).isEqualTo(postBytes.size)
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun closeAfterFlush(protocol: Protocol) {
        setUp(protocol)
        val postBytes = "FGHIJ".toByteArray()
        server.enqueue(MockResponse(body = "ABCDE"))
        val call =
          client.newCall(
            Request(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
Back to top