lib/gillbus.rb in gillbus-0.20.0 vs lib/gillbus.rb in gillbus-0.20.1

- old
+ new

@@ -26,9 +26,10 @@ response_class = klass::Response request = request_class.new(*args) headers = {} headers['Cookie'] = self.class.make_cookies(session_id) if session_id headers['Accept-Encoding'] = 'gzip' + headers['Host'] = driver.host request_time_start = Time.now http_response = driver.public_send(request.method, request.path, request.params, headers) request_time_end = Time.now result = response_class.parse_string(http_response.body.force_encoding('utf-8'), timezone: timezone) cookie_string = http_response.headers['Set-Cookie']