jsonrpclib
jsonrpclib copied to clipboard
The 'Content type' of response should be application/json
Hi accordingt to the Starndard, the "Content-Type: MUST be application/json.".
relative issue https://github.com/powerman/rpc-codec/issues/7
Yes! Look at this line in jsonrpc.py:
connection.putheader("Content-Type", "application/json-rpc")
It should be "application/json" not "application/json-rpc"