fix: keep accept header (#1291)

Signed-off-by: Jim Ma <majinjing3@gmail.com>
This commit is contained in:
Jim Ma 2022-05-06 10:39:37 +08:00 committed by Gaius
parent 3b0005a052
commit 474a8d0e5c
No known key found for this signature in database
GPG Key ID: 8B4E5D1290FA2FFB
1 changed files with 1 additions and 1 deletions

View File

@ -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",
}