Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for piedpiper (0.5 sec)

  1. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

                .message("OK")
                .body("Hello".toResponseBody())
                .header("Content-Encoding", "piedpiper")
                .build()
            }.build()
    
        val response = client.newCall(Request("https://google.com/robots.txt".toHttpUrl())).execute()
    
        assertThat(response.header("Content-Encoding")).isEqualTo("piedpiper")
        assertThat(response.body.string()).isEqualTo("Hello")
      }
    
      @Test
      fun gzipThroughCall() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top