Skip to content

Commit

Permalink
Merge pull request #3783 from ndeloof/accept-encoding-28
Browse files Browse the repository at this point in the history
[release/2.8 backport] revert "registry/client: set Accept: identity header when getting layers
  • Loading branch information
milosgajdos authored May 11, 2023
2 parents 320d6a1 + 2b0f84d commit f067f66
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion registry/client/transport/http_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ func (hrs *httpReadSeeker) reader() (io.Reader, error) {
// context.GetLogger(hrs.context).Infof("Range: %s", req.Header.Get("Range"))
}

req.Header.Add("Accept-Encoding", "identity")
resp, err := hrs.client.Do(req)
if err != nil {
return nil, err
Expand Down

0 comments on commit f067f66

Please sign in to comment.