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

This commit is contained in:
Harshavardhana 2015-07-10 15:44:47 -07:00
parent d0eb4a2aea
commit 53f5d2c32b

View File

@ -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