mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 15:53:28 +03:00
Remove global custom config path variables, use get/set methods instead
This commit is contained in:
@@ -46,15 +46,6 @@ const (
|
||||
yyyymmdd = "20060102"
|
||||
)
|
||||
|
||||
var ignoredHeaders = map[string]bool{
|
||||
"Authorization": true,
|
||||
"Content-Type": true,
|
||||
"Accept-Encoding": true,
|
||||
"Content-Length": true,
|
||||
"User-Agent": true,
|
||||
"Connection": true,
|
||||
}
|
||||
|
||||
// sumHMAC calculate hmac between two input byte array
|
||||
func sumHMAC(key []byte, data []byte) []byte {
|
||||
hash := hmac.New(sha256.New, key)
|
||||
|
||||
Reference in New Issue
Block a user