Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GZIP (0.03 sec)

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

        assertThat(request.headers["Accept-Encoding"]).isEqualTo("gzip")
      }
    
      @Test
      fun clientConfiguredGzipContentEncoding() {
        val bodyBytes = gzip("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
        server.enqueue(
          MockResponse
            .Builder()
            .body(bodyBytes)
            .addHeader("Content-Encoding: gzip")
            .build(),
        )
        val response =
          getResponse(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        )
      }
    
      private fun assertNonIdentityEncodingCached(response: MockResponse) {
        server.enqueue(
          response
            .newBuilder()
            .body(gzip("ABCABCABC"))
            .addHeader("Content-Encoding: gzip")
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .code(HttpURLConnection.HTTP_NOT_MODIFIED)
            .build(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        }
        assertThat(server.requestCount).isEqualTo(0)
      }
    
      @Test
      fun gzip() {
        val gzippedBody = gzip("abcabcabc")
        val bodySize = java.lang.Long.toString(gzippedBody.size)
        server.enqueue(
          MockResponse
            .Builder()
            .body(gzippedBody)
            .addHeader("Content-Encoding: gzip")
            .build(),
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    			expectedRespStatus: http.StatusOK,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			shouldPass:         true,
    			contentEncoding:    "aws-chunked,gzip",
    			fault:              None,
    		},
    	}
    	// Iterating over the cases, fetching the object validating the response.
    	for i, testCase := range testCases {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  5. api/go1.3.txt

    pkg archive/tar, const TypeGNUSparse = 83
    pkg archive/tar, const TypeGNUSparse ideal-char
    pkg archive/tar, type Header struct, Xattrs map[string]string
    pkg compress/gzip, method (*Reader) Reset(io.Reader) error
    pkg crypto/tls, const CurveP256 = 23
    pkg crypto/tls, const CurveP256 CurveID
    pkg crypto/tls, const CurveP384 = 24
    pkg crypto/tls, const CurveP384 CurveID
    pkg crypto/tls, const CurveP521 = 25
    pkg crypto/tls, const CurveP521 CurveID
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
Back to top