Actually cache headers.

This commit is contained in:
Markus Reiter 2020-12-18 21:29:58 +01:00 committed by Sam Ford
parent b8de4e8b21
commit 0fd0b1dad0
No known key found for this signature in database
GPG Key ID: 95209E46C7FFDEFE

View File

@ -107,7 +107,7 @@ module Homebrew
.to_h.transform_keys(&:downcase))
end
return headers if status.success?
return (@headers[url] = headers) if status.success?
end
headers