Contents

Roo

Response.headers

Returns this response’s headers as a Hash object.

var r = HTTP.get("https://google.co.uk")
print(r.headers)
# {"X-WebKit-CSP" => "", "Content-Encoding" => "gzip", "Pragma" => ""} etc