Actually cache headers.
This commit is contained in:
parent
b8de4e8b21
commit
0fd0b1dad0
@ -107,7 +107,7 @@ module Homebrew
|
|||||||
.to_h.transform_keys(&:downcase))
|
.to_h.transform_keys(&:downcase))
|
||||||
end
|
end
|
||||||
|
|
||||||
return headers if status.success?
|
return (@headers[url] = headers) if status.success?
|
||||||
end
|
end
|
||||||
|
|
||||||
headers
|
headers
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user