Skip to content

Commit

Permalink
Revert "registry/client: set Accept: identity header when getting lay…
Browse files Browse the repository at this point in the history
…ers"

This reverts commit 16f086a.

Signed-off-by: Nicolas De Loof <[email protected]>
  • Loading branch information
ndeloof authored and thaJeztah committed May 10, 2023
1 parent 320d6a1 commit 2b0f84d
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 2b0f84d

Please sign in to comment.