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