aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-30 10:21:56 -0700
committerAdam Vandenberg2010-06-30 10:21:56 -0700
commitd60d082a8dcf6c25c60fa180e0a07741a941a88a (patch)
treead0d746dadcd0019efcf111d3cf904ba847344ef /Library
parent7cd4c147130432e9de02cf2f5664cda75fd9b4c0 (diff)
downloadhomebrew-d60d082a8dcf6c25c60fa180e0a07741a941a88a.tar.bz2
Tweak CurlPostDownloadStrategy
Diffstat (limited to 'Library')
-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