Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cleanMinioInternalMetadataKeys (0.17 sec)

  1. cmd/utils.go

    	}
    	ceil = numerator / denominator
    	if numerator > 0 && numerator%denominator != 0 {
    		ceil++
    	}
    	return
    }
    
    // cleanMinioInternalMetadataKeys removes X-Amz-Meta- prefix from minio internal
    // encryption metadata.
    func cleanMinioInternalMetadataKeys(metadata map[string]string) map[string]string {
    	newMeta := make(map[string]string, len(metadata))
    	for k, v := range metadata {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. cmd/api-response.go

    		}
    	case crypto.SSEC:
    		m[xhttp.AmzServerSideEncryptionCustomerAlgorithm] = xhttp.AmzEncryptionAES
    
    	}
    
    	var toRemove []string
    	for k := range cleanMinioInternalMetadataKeys(m) {
    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    			// Do not need to send any internal metadata
    			// values to client.
    			toRemove = append(toRemove, k)
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top