Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cshum committed Mar 15, 2024
1 parent 45be35e commit 01abce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/httploader/httploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func (h *HTTPLoader) Get(r *http.Request, image string) (*imagor.Blob, error) {
blob.Header = make(http.Header)
for _, key := range h.OverrideResponseHeaders {
if val := resp.Header.Get(key); val != "" {
blob.Header.Set(key, resp.Header.Get(key))
blob.Header.Set(key, val)
}
}
}
Expand Down

0 comments on commit 01abce2

Please sign in to comment.