Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for causal (0.2 sec)

  1. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

          val failingResponse = uncompress(response)
          failingResponse.body.string()
        }.also { ioe ->
          assertThat(ioe).hasMessage("Brotli stream decoding failed")
          assertThat(ioe.cause?.javaClass?.simpleName).isEqualTo("BrotliRuntimeException")
        }
      }
    
      @Test
      fun testSkipUncompressNoContentResponse() {
        val response =
          response("https://httpbin.org/brotli", EMPTY) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top