Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for clientTimeoutClosesBody (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        clientListener.assertFailure(
          404,
          null,
          ProtocolException::class.java,
          "Expected HTTP 101 response but was '404 Not Found'",
        )
      }
    
      @Test
      fun clientTimeoutClosesBody() {
        webServer.enqueue(
          MockResponse.Builder()
            .code(408)
            .build(),
        )
        webServer.enqueue(
          MockResponse.Builder()
            .webSocketUpgrade(serverListener)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top