Revert "registry/client: set Accept: identity header when getting layers"

This reverts commit 16f086a0ec.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2022-10-20 14:28:39 +02:00
parent fb2188868d
commit 9c04d0b30a
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E

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