Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for non101RetainsBody (0.07 sec)

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

        newWebSocket()
        val webSocket = clientListener.assertOpen()
        val server = serverListener.assertOpen()
        closeWebSockets(webSocket, server)
      }
    
      @Test
      @Throws(IOException::class)
      fun non101RetainsBody() {
        webServer.enqueue(
          MockResponse.Builder()
            .code(200)
            .body("Body")
            .build(),
        )
        newWebSocket()
        clientListener.assertFailure(
          200,
    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