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/3754/head
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"))
|
// context.GetLogger(hrs.context).Infof("Range: %s", req.Header.Get("Range"))
|
||||||
}
|
}
|
||||||
|
|
||||||
req.Header.Add("Accept-Encoding", "identity")
|
|
||||||
resp, err := hrs.client.Do(req)
|
resp, err := hrs.client.Do(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in New Issue