Subject: | Client does not properly handle error responses from JSON-RPC 1.1 HTTP servers |
Per the JSON-RPC 1.1 WD, JSON-RPC HTTP servers MUST return a 500 error if
returning an error from the procedure:
http://json-rpc.org/wd/JSON-RPC-1-1-WD-20060807.html#ResponseStatusCodes
However, JSON::RPC::Client::call checks $response->is_success, and thus
returns undef if the response code is a 500, instead of properly checking
the call for content and parsing it.