aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-30 10:21:56 -0700
committerAdam Vandenberg2010-06-30 10:21:56 -0700
commitaac072c47a3bd54cbc4b4c528089c3c0d9eecb84 (patch)
treeff9388511dd77ab6ab771f8767c2b7df621eec18 /Library/Homebrew
parent4490b739d5e71912bdd99daa5ab02f9c0b3433e8 (diff)
downloadbrew-aac072c47a3bd54cbc4b4c528089c3c0d9eecb84.tar.bz2
Tweak CurlPostDownloadStrategy
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/download_strategy.rb5
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