Merge pull request #3986 from amancevice/detect-bottle-strategy

Detect bottle download strategy
This commit is contained in:
Mike McQuaid 2018-03-25 19:23:03 +01:00 committed by GitHub
commit 6034caf9fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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