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

Function isMinioHeader

utils.go:562–564  ·  view source on GitHub ↗

isMinioHeader returns true if header is x-minio- header.

(headerKey string)

Source from the content-addressed store, hash-verified

560
561// isMinioHeader returns true if header is x-minio- header.
562func isMinioHeader(headerKey string) bool {
563 return strings.HasPrefix(strings.ToLower(headerKey), "x-minio-")
564}
565
566// supportedQueryValues is a list of query strings that can be passed in when using GetObject.
567var supportedQueryValues = map[string]bool{

Callers 3

MarshalMethod · 0.85
HeaderMethod · 0.85
validateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected