Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testUnknownAlgorithm (0.52 sec)

  1. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

        assertThat(decompressed.header("Content-Encoding")).isNull()
    
        val responseString = decompressed.body.string()
        assertThat(responseString).isEqualTo("hello not compressed world")
      }
    
      @Test
      fun testUnknownAlgorithm() {
        val s = "hello unknown algorithm world".encodeUtf8()
    
        val response =
          response("https://example.com/", s) {
            header("Content-Encoding", "deflate")
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top