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