diff options
| author | Adam Vandenberg | 2010-06-30 10:21:56 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-30 10:21:56 -0700 |
| commit | aac072c47a3bd54cbc4b4c528089c3c0d9eecb84 (patch) | |
| tree | ff9388511dd77ab6ab771f8767c2b7df621eec18 /Library | |
| parent | 4490b739d5e71912bdd99daa5ab02f9c0b3433e8 (diff) | |
| download | brew-aac072c47a3bd54cbc4b4c528089c3c0d9eecb84.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 |
