Revert "Update Library/Homebrew/utils/curl.rb"
This reverts commit ecaaafba203578498fbc0a48493adea1790839f2.
This commit is contained in:
parent
f7fe111430
commit
b546960da9
@ -147,9 +147,9 @@ module Utils
|
||||
end
|
||||
end
|
||||
|
||||
args.prepend "--location", "--remote-time", "--output", destination
|
||||
args = ["--location", "--remote-time", "--output", destination, *args]
|
||||
# continue-at shouldn't be used with servers that don't support partial requests.
|
||||
args.prepend "--continue-at", "-" if destination.exist? && supports_partial
|
||||
args = ["--continue-at", "-", *args] if destination.exist? && supports_partial
|
||||
|
||||
curl(*args, **options)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user