Merge pull request #6545 from maboloshi/patch-1
Adding the `header` option to `CurlDownloadStrategy`.
This commit is contained in:
commit
dc35cf4e3b
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user