diff options
author | Daniel Kraft <d@domob.eu> | 2018-06-27 17:47:07 +0200 |
---|---|---|
committer | Daniel Kraft <d@domob.eu> | 2018-06-27 17:47:07 +0200 |
commit | 449ce35a34356d6091870688989b70efdb5f9053 (patch) | |
tree | 3650378565bfff485748c5c63a44835633f5d501 /jsonrpclib/history.py | |
parent | e7cb8ba791bd89109022ff7b516787f16922a39b (diff) | |
download | jsonrpclib-449ce35a34356d6091870688989b70efdb5f9053.tar.gz |
Pass down API version in SimpleJSONRPCServer.
JSON-RPC version 1.0 requires the 'error' key to be set in the response
even if there is no error. This is correctly implemented
Payload.response -- but for that to work, the API version has to be
passed down in SimpleJSONRPCServer when it calls dumps to construct the
response. This was missing, so that JSON-RPC 1.0 requests were answered
with a 2.0 response.
Diffstat (limited to 'jsonrpclib/history.py')
0 files changed, 0 insertions, 0 deletions