Merge pull request #9500 from reitermarkus/fix-curl_http_content_headers_and_checksum

Don't add headers to content in `curl_http_content_headers_and_checksum`.
This commit is contained in:
Markus Reiter 2020-12-11 14:52:32 +01:00 committed by GitHub
commit ee858aeba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
)