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

Function isStandardHeader

utils.go:534–536  ·  view source on GitHub ↗

isStandardHeader returns true if header is a supported header and not a custom header

(headerKey string)

Source from the content-addressed store, hash-verified

532
533// isStandardHeader returns true if header is a supported header and not a custom header
534func isStandardHeader(headerKey string) bool {
535 return supportedHeaders[strings.ToLower(headerKey)]
536}
537
538// sseHeaders is list of server side encryption headers
539var sseHeaders = map[string]bool{

Callers 4

TestIsStandardHeaderFunction · 0.85
MarshalMethod · 0.85
HeaderMethod · 0.85
validateMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestIsStandardHeaderFunction · 0.68