From 53f5d2c32bf12c9cd463ec231683fc6b4714c6da Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 10 Jul 2015 15:44:47 -0700 Subject: [PATCH] nodejs http library sends Connection header during HTTP request, this clobbers up the signature handling ignore it --- pkg/donut/signature-v4.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/donut/signature-v4.go b/pkg/donut/signature-v4.go index ad2dd5f56..a60a4d7a0 100644 --- a/pkg/donut/signature-v4.go +++ b/pkg/donut/signature-v4.go @@ -52,6 +52,7 @@ var ignoredHeaders = map[string]bool{ "Accept-Encoding": true, "Content-Length": true, "User-Agent": true, + "Connection": true, } // sumHMAC calculate hmac between two input byte array