Skip Menu |

This queue is for tickets about the JSON-RPC CPAN distribution.

Report information
The Basics
Id: 58471
Status: new
Priority: 0/

Owner: Nobody in particular
Requestors: mkanat [...]

Bug Information
Severity: Critical
Broken in: 0.96
Fixed in: (no value)

Subject: Client does not properly handle error responses from JSON-RPC 1.1 HTTP servers
Download (untitled) / with headers
text/plain 373b
Per the JSON-RPC 1.1 WD, JSON-RPC HTTP servers MUST return a 500 error if returning an error from the procedure: 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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to