class Pod::Downloader::Http

Public Instance Methods

download_file(full_filename) click to toggle source
# File lib/cocoapods-cache-proxy/native/downloader.rb, line 38
def download_file(full_filename)
  download_uri = URI(url)

  if !download_uri.query.blank? && download_uri.query.include?("git=") && download_uri.query.include?("tag=") && download_uri.query.include?("cache_proxy=1")
      curl_options = ["-f", "-L", "-o", full_filename, url, "--create-dirs"]
      curl! curl_options
  else
    orig_download_file(full_filename)
  end
end
Also aliased as: orig_download_file
orig_download_file(full_filename)
Alias for: download_file