Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isCompressible (0.04 sec)

  1. cmd/object-handlers.go

    			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 {
    		compressMetadata = make(map[string]string, 2)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    	// so we do not want to override them, copy them instead.
    	maps.Copy(metadata, encMetadata)
    
    	// Ensure that metadata does not contain sensitive information
    	crypto.RemoveSensitiveEntries(metadata)
    
    	if isCompressible(r.Header, object) {
    		// Storing the compression metadata.
    		metadata[ReservedMetadataPrefix+"compression"] = compressionAlgorithmV2
    	}
    
    	opts, err := putOptsFromReq(ctx, r, bucket, object, metadata)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top