Skip to content

Commit 2b0f84d

Browse files
ndeloofthaJeztah
authored andcommitted
Revert "registry/client: set Accept: identity header when getting layers"
This reverts commit 16f086a. Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 320d6a1 commit 2b0f84d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

registry/client/transport/http_reader.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ func (hrs *httpReadSeeker) reader() (io.Reader, error) {
180180
// context.GetLogger(hrs.context).Infof("Range: %s", req.Header.Get("Range"))
181181
}
182182

183-
req.Header.Add("Accept-Encoding", "identity")
184183
resp, err := hrs.client.Do(req)
185184
if err != nil {
186185
return nil, err

0 commit comments

Comments
 (0)