class Dependabot::RegistryClient
def self.head(url:, headers: {}, options: {})
def self.head(url:, headers: {}, options: {}) raise T.must(cached_error_for(url)) if cached_error_for(url) Excon.head( url, idempotent: true, **SharedHelpers.excon_defaults({ headers: headers }.merge(options)) ) rescue Excon::Error::Timeout => e cache_error(url, e) raise e end