From a4a2d26467baccbb25ce4776fa0541fd207c615c Mon Sep 17 00:00:00 2001 From: Jim Ma Date: Fri, 6 May 2022 10:39:37 +0800 Subject: [PATCH] fix: keep accept header (#1291) Signed-off-by: Jim Ma --- client/daemon/transport/transport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/daemon/transport/transport.go b/client/daemon/transport/transport.go index 771a1dd7a..fcb6d8999 100644 --- a/client/daemon/transport/transport.go +++ b/client/daemon/transport/transport.go @@ -338,7 +338,7 @@ var hopHeaders = []string{ "Upgrade", // remove by dragonfly - "Accept", + // "Accept", Accept header should not be removed, issue: https://github.com/dragonflyoss/Dragonfly2/issues/1290 "User-Agent", "X-Forwarded-For", }