lib/watir/http_client.rb in watir-7.1.0 vs lib/watir/http_client.rb in watir-7.2.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module Watir
class HttpClient < Selenium::WebDriver::Remote::Http::Default
def request(verb, url, headers, payload, redirects = 0)
headers['User-Agent'] = "#{headers['User-Agent']} watir/#{Watir::VERSION}"