fetch_size(uri)
Returns the size of uri in bytes.
# File lib/rubygems/remote_fetcher.rb, line 327 def fetch_size(uri) # TODO: phase this out response = fetch_path(uri, nil, true) response['content-length'].to_i end