Merge pull request #3986 from amancevice/detect-bottle-strategy
Detect bottle download strategy
This commit is contained in:
commit
6034caf9fb
@ -318,7 +318,7 @@ class Bottle
|
||||
end
|
||||
|
||||
def select_download_strategy(specs)
|
||||
specs[:using] ||= CurlDownloadStrategy
|
||||
specs[:using] ||= DownloadStrategyDetector.detect(@spec.root_url)
|
||||
specs
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user