output interesting http-headers

This commit is contained in:
Christian Mehlmauer
2013-07-19 14:14:13 +02:00
parent f49b53b095
commit bb35837ea1
6 changed files with 87 additions and 0 deletions

View File

@@ -19,6 +19,14 @@ class Browser
process(url, params.merge(method: :post))
end
# @param [ String ] url
# @param [ Hash ] params
#
# @return [ Typhoeus::Response ]
def head(url, params = {})
process(url, params.merge(method: :head))
end
# @param [ String ] url
# @param [ Hash ] params
#