5 lines
111 B

class Cask::Fetcher
def self.head(url)
`curl --max-time 5 --silent --location --head '#{url}'`
end
end