mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
nodejs http library sends Connection header during HTTP request, this clobbers up the signature handling ignore it
This commit is contained in:
parent
d0eb4a2aea
commit
53f5d2c32b
@ -52,6 +52,7 @@ var ignoredHeaders = map[string]bool{
|
|||||||
"Accept-Encoding": true,
|
"Accept-Encoding": true,
|
||||||
"Content-Length": true,
|
"Content-Length": true,
|
||||||
"User-Agent": true,
|
"User-Agent": true,
|
||||||
|
"Connection": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
// sumHMAC calculate hmac between two input byte array
|
// sumHMAC calculate hmac between two input byte array
|
||||||
|
Loading…
Reference in New Issue
Block a user