Merge pull request #6545 from maboloshi/patch-1

Adding the `header` option to `CurlDownloadStrategy`.
This commit is contained in:
Mike McQuaid 2019-10-07 12:41:48 +01:00 committed by GitHub
commit dc35cf4e3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -421,6 +421,8 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy
args += ["--user", meta.fetch(:user)] if meta.key?(:user)
args += ["--header", meta.fetch(:header)] if meta.key?(:header)
args
end