Class Gem::Mirror::Fetcher
In: lib/rubygems/mirror/fetcher.rb
Parent: Object

Methods

Classes and Modules

Class Gem::Mirror::Fetcher::Error

Public Class methods

Public Instance methods

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.

Efficiently writes an http response object to a particular path. If there is an error, it will remove the target file.

[Validate]