Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for http1DoesntSupportDuplex (0.15 sec)

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

        platform.assumeNotOpenJSSE()
        platform.assumeHttp2Support()
      }
    
      @AfterEach
      fun tearDown() {
        executorService.shutdown()
      }
    
      @Test
      @Throws(IOException::class)
      fun http1DoesntSupportDuplex() {
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .post(AsyncRequestBody())
              .build(),
          )
        assertFailsWith<ProtocolException> {
    Registered: 2024-11-01 11:42
    - Last Modified: 2024-01-20 10:30
    - 23.9K bytes
    - Viewed (0)
Back to top