MCPcopy
hub / github.com/minio/minio-go / isSSEHeader

Function isSSEHeader

utils.go:550–552  ·  view source on GitHub ↗

isSSEHeader returns true if header is a server side encryption header.

(headerKey string)

Source from the content-addressed store, hash-verified

548
549// isSSEHeader returns true if header is a server side encryption header.
550func isSSEHeader(headerKey string) bool {
551 return sseHeaders[strings.ToLower(headerKey)]
552}
553
554// isAmzHeader returns true if header is a x-amz-meta-* or x-amz-acl header.
555func isAmzHeader(headerKey string) bool {

Callers 3

TestIsSSEHeaderFunction · 0.85
isAmzHeaderFunction · 0.85
validateMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestIsSSEHeaderFunction · 0.68