diff --git a/py/selenium/webdriver/remote/remote_connection.py b/py/selenium/webdriver/remote/remote_connection.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/remote/remote_connection.py
+++ b/py/selenium/webdriver/remote/remote_connection.py
@@ -368,7 +368,8 @@ class RemoteConnection(object):
         headers["Connection"] = "Keep-Alive"
         headers[method] = parsed_url.path
         headers["User-Agent"] = "Python http auth"
-        headers["Content-type"] = "text/html;charset=\"UTF-8\""
+        headers["Content-type"] = "application/json;charset=\"UTF-8\""
+        headers["Accept"] = "application/json"
         headers["Connection"] = "keep-alive"
 
         # for basic auth
Follow up to the activity in Issue #<I>

Sets proper 'Accept' request header so that Python bindings work with some old WebDriver implementations that reply <I> to requests with no 'Accept' set.