ids are always set to null

Bug #1319612 reported by Matt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
txJSON-RPC
New
Undecided
Unassigned

Bug Description

This might be related to (and/or fixed by) # 456441 [1], but ids don't seem to be echoed back to the caller per the specification [2].

% twistd --python id_test.py # attached to this bug report
% curl 'http://127.0.0.1:6969/' -H 'Content-Type: application/json' -H 'Accept: application/json' -X POST --data '{ "method": "hello", "params": ["Duncan"], "id": 101}'
{"id": null, "result": "Hello, Duncan!", "error": null}

Note that id 101 was passed in the call, but null was returned.

[1] https://bugs.launchpad.net/txjsonrpc/+bug/456441
[2] http://json-rpc.org/wiki/specification

Revision history for this message
Matt (posita) wrote :
description: updated
description: updated
Matt (posita)
description: updated
description: updated
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.