We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5516b4f commit 2eb4235Copy full SHA for 2eb4235
rb/lib/selenium/webdriver/remote/http/common.rb
@@ -22,7 +22,10 @@ module Http
22
class Common
23
MAX_REDIRECTS = 20 # same as chromium/gecko
24
CONTENT_TYPE = 'application/json'.freeze
25
- DEFAULT_HEADERS = {'Accept' => CONTENT_TYPE}.freeze
+ DEFAULT_HEADERS = {
26
+ 'Accept' => CONTENT_TYPE,
27
+ 'Content-Type' => "#{CONTENT_TYPE}; charset=UTF-8"
28
+ }.freeze
29
30
attr_accessor :timeout
31
attr_writer :server_url
0 commit comments