nodejs http library sends Connection header during HTTP request, this clobbers up the signature handling ignore it

master
Harshavardhana 10 years ago
parent d0eb4a2aea
commit 53f5d2c32b
  1. 1
      pkg/donut/signature-v4.go

@ -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…
Cancel
Save