Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for decompressor (0.07 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        val request =
          Request.Builder()
            .url(server.url("/"))
            .header("Range", "bytes=0-")
            .build()
        val call = client.newCall(request)
    
        // The response is not decompressed.
        val response = call.execute()
        assertThat(response.header("Content-Encoding")).isEqualTo("gzip")
        assertThat(response.body.source().readByteString()).isEqualTo(
          gzippedBody.snapshot(),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    	var compressMetadata map[string]string
    	// No need to compress for remote etcd calls
    	// Pass the decompressed stream to such calls.
    	isDstCompressed := isCompressible(r.Header, dstObject) &&
    		length > minCompressibleSize &&
    		!isRemoteCopyRequired(ctx, srcBucket, dstBucket, objectAPI)
    	if isDstCompressed {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top