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

This reverts commit 16f086a0ec.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
pull/3783/head
Nicolas De Loof 2022-11-10 09:52:53 +01:00 committed by Sebastiaan van Stijn
parent 320d6a141f
commit 2b0f84df21
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 0 additions and 1 deletions

View File

@ -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