Skip to content

Commit 4e4938f

Browse files
author
Guido Serra
committed
this let's me use Atlassian Confluence's JSON-RPC APIs
1 parent e3a3cde commit 4e4938f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonrpclib/jsonrpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class TransportMixIn(object):
117117
_connection = None
118118

119119
def send_content(self, connection, request_body):
120-
connection.putheader("Content-Type", "application/json-rpc")
120+
connection.putheader("Content-Type", "application/json")
121121
connection.putheader("Content-Length", str(len(request_body)))
122122
connection.endheaders()
123123
if request_body:

0 commit comments

Comments
 (0)