def cookies
      hash = {}

      cookie_jar.cookies(@request.uri).each do |cookie|
        hash[cookie.name] = cookie.value
      end

      hash
    end
def cookies
      hash = {}

      cookie_jar.cookies(@request.uri).each do |cookie|
        hash[cookie.name] = cookie.value
      end

      hash
    end
Hash of cookies extracted from response headers.

 NB: This will return only cookies whose domain matches this request, and
 may not even return all of those cookies if there are duplicate names.
 Use the full cookie_jar for more nuanced access.

 @see #cookie_jar

 @return [Hash]