Skip to content

Commit bf73a8f

Browse files
author
catchjosh
committed
Added proper content-type heading.
git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@11 ae587032-bbab-11de-869a-473eb4776397
1 parent 5923d23 commit bf73a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jsonrpclib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class Transport(XMLTransport):
109109
user_agent = _user_agent
110110

111111
def send_content(self, connection, request_body):
112-
connection.putheader("Content-Type", "text/json")
112+
connection.putheader("Content-Type", "application/json-rpc")
113113
connection.putheader("Content-Length", str(len(request_body)))
114114
connection.endheaders()
115115
if request_body:

0 commit comments

Comments
 (0)