Don't add headers to content in curl_http_content_headers_and_checksum.
This commit is contained in:
parent
e1451496c6
commit
a023b0873b
@ -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
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user