Class | Gem::Mirror::Fetcher |
In: |
lib/rubygems/mirror/fetcher.rb
|
Parent: | Object |
Fetch a source path under the base uri, and put it in the same or given destination path under the base path.
Handle an http response, follow redirects, etc. returns true if a file was downloaded, false if a 304. Raise Error on unknown responses.