diff options
| author | Indrajit Raychaudhuri | 2015-07-08 23:53:20 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2015-07-09 12:19:58 +0100 |
| commit | 7c890261ac500da49acd801aebe244d9d12f93e3 (patch) | |
| tree | f24e9a39d4855fcae6d114d97222bcc16ced514f /Library/Homebrew/cmd | |
| parent | 6a534f569d617e6323c736be4e1753fa6ad597a9 (diff) | |
| download | brew-7c890261ac500da49acd801aebe244d9d12f93e3.tar.bz2 | |
download_strategy: private method allowing extra curl options.
This allows some curl options to be always passed to curl, with raw
head calls (`curl -I`) (in `CurlDownloadStrategy#actual_urls`) or with
actual `curl` (in `CurlDownloadStrategy#curl`).
This also avoid the need for overriding whole `_fetch` in a few cases
and just override `_curl_opts` to append additional options instead.
Closes Homebrew/homebrew#41506.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd')
0 files changed, 0 insertions, 0 deletions
