Sha256: d49f0de530a63c40e81bdff5a2aef777f20a3eb23bcef773393b595c792b860d
Contents?: true
Size: 639 Bytes
Versions: 14
Compression:
Stored size: 639 Bytes
Contents
Return the response Headers from a HTTP GET Request: http_get_headers 'http://example.com/' # => {"Accept-Ranges"=>"bytes", # "Age"=>"283888", # "Cache-Control"=>"max-age=604800", # "Content-Type"=>"text/html; charset=UTF-8", # "Date"=>"Thu, 15 Dec 2022 22:29:04 GMT", # "Etag"=>"\"3147526947+ident\"", # "Expires"=>"Thu, 22 Dec 2022 22:29:04 GMT", # "Last-Modified"=>"Thu, 17 Oct 2019 07:18:26 GMT", # "Server"=>"ECS (sec/96DC)", # "Vary"=>"Accept-Encoding", # "X-Cache"=>"HIT", # "Content-Length"=>"1256", # "Connection"=>"close"}
Version data entries
14 entries across 14 versions & 1 rubygems