Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for serverTruncatesRequestHttp2OnDuplexRequest (0.16 sec)

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

      }
    
      /**
       * If the server returns a full response, it doesn't really matter if the HTTP/2 stream is reset.
       * Attempts to write the request body fails fast.
       */
      @Test
      fun serverTruncatesRequestHttp2OnDuplexRequest() {
        enableProtocol(Protocol.HTTP_2)
    
        server.enqueue(
          MockResponse
            .Builder()
            .body("abc")
            .doNotReadRequestBody()
            .build(),
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top