From 0fd0b1dad0f15646d2dc63ac636160db13d224c9 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 18 Dec 2020 21:29:58 +0100 Subject: [PATCH] Actually cache headers. --- Library/Homebrew/livecheck/strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/livecheck/strategy.rb b/Library/Homebrew/livecheck/strategy.rb index 2c986a46fc..08f2dbd63a 100644 --- a/Library/Homebrew/livecheck/strategy.rb +++ b/Library/Homebrew/livecheck/strategy.rb @@ -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