diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 166a1b3340..b08f7c8207 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -423,6 +423,8 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy args += ["--header", meta.fetch(:header)] if meta.key?(:header) + meta.fetch(:headers).each { |h| args += ["--header", h.strip] } if meta.key?(:headers) + args end