Skip to content

Commit

Permalink
fix: keep accept header (dragonflyoss#1291)
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Ma <[email protected]>
  • Loading branch information
jim3ma authored May 6, 2022
1 parent d23bce7 commit a4a2d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/daemon/transport/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand Down

0 comments on commit a4a2d26

Please sign in to comment.