diff options
| author | Adam Vandenberg | 2010-06-30 10:21:56 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-30 10:21:56 -0700 |
| commit | d60d082a8dcf6c25c60fa180e0a07741a941a88a (patch) | |
| tree | ad0d746dadcd0019efcf111d3cf904ba847344ef /Library | |
| parent | 7cd4c147130432e9de02cf2f5664cda75fd9b4c0 (diff) | |
| download | homebrew-d60d082a8dcf6c25c60fa180e0a07741a941a88a.tar.bz2 | |
Tweak CurlPostDownloadStrategy
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 6176e4970..48205deab 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -127,11 +127,8 @@ private end # Download via an HTTP POST. +# Query parameters on the URL are converted into POST parameters class CurlPostDownloadStrategy <CurlDownloadStrategy - def initialize url, name, version, specs - super - end - def _fetch base_url,data = @url.split('?') curl base_url, '-d', data, '-o', @tarball_path |
