mirror of
https://github.com/distribution/distribution
synced 2025-02-23 06:49:36 +01:00
Revert "registry/client: set Accept: identity header when getting layers"
This reverts commit 16f086a0ec1e6158375ab34eb9c716a3f99b26f5. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
fb2188868d
commit
9c04d0b30a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user