mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
nodejs http library sends Connection header during HTTP request, this clobbers up the signature handling ignore it
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user