Don't add headers to content in curl_http_content_headers_and_checksum.

This commit is contained in:
Markus Reiter 2020-12-10 12:34:50 +01:00
parent e1451496c6
commit a023b0873b

View File

@ -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
)