[rb] log header information on http response
@@ -100,6 +100,8 @@ module Selenium
request(:get, URI.parse(response['Location']), DEFAULT_HEADERS.dup, nil, redirects + 1)
else
+ header = response.instance_variable_get(:@header).to_yaml
+ WebDriver.logger.debug(" <<< #{header.inspect}")
create_response response.code, response.body, response.content_type
end
end
