Merge pull request #3754 from ndeloof/accept-encoding

Revert "registry/client: set Accept: identity header when getting layers
This commit is contained in:
Milos Gajdos 2022-11-03 11:06:17 +00:00 committed by GitHub
commit 6a2594c5b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,7 +183,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