From a023b0873b0a4dee79beeebba447ac053a4074e9 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Thu, 10 Dec 2020 12:34:50 +0100 Subject: [PATCH] Don't add headers to content in `curl_http_content_headers_and_checksum`. --- Library/Homebrew/utils/curl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index d7a4746290..e6d741561e 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -236,7 +236,7 @@ module Utils max_time = hash_needed ? "600" : "25" output, = curl_output( - "--dump-header", "-", "--output", file.path, "--include", "--location", + "--dump-header", "-", "--output", file.path, "--location", "--connect-timeout", "15", "--max-time", max_time, url, user_agent: user_agent )