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

Function isStandardHeader

utils.go:533–535  ·  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

531
532// isStandardHeader returns true if header is a supported header and not a custom header
533func isStandardHeader(headerKey string) bool {
534 return supportedHeaders[strings.ToLower(headerKey)]
535}
536
537// sseHeaders is list of server side encryption headers
538var 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