summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/jsonrpclib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jsonrpclib.py b/lib/jsonrpclib.py
index ff5a58d..1ca104d 100644
--- a/lib/jsonrpclib.py
+++ b/lib/jsonrpclib.py
@@ -109,7 +109,7 @@ class Transport(XMLTransport):
user_agent = _user_agent
def send_content(self, connection, request_body):
- connection.putheader("Content-Type", "text/json")
+ connection.putheader("Content-Type", "application/json-rpc")
connection.putheader("Content-Length", str(len(request_body)))
connection.endheaders()
if request_body: