Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gzipEncodingEnabledByDefault (0.08 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

       * This test checks whether connections are gzipped by default. This behavior in not required by
       * the API, so a failure of this test does not imply a bug in the implementation.
       */
      @Test
      fun gzipEncodingEnabledByDefault() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(gzip("ABCABCABC"))
            .addHeader("Content-Encoding: gzip")
            .build(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top