This is a stab in the dark but the error line is my $content = ( $json || JSON->new->utf8 )->decode( $obj->content ); and the error/bad JSON is "Content-Type..." so to me it looks like perhaps you are double printing headers from your application. Something like–
HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 Content-Type: application/json Content-Length: 13 {"oh":"hai!"}
In reply to Re: JSON RPC
by Your Mother
in thread JSON RPC
by dlal66
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |