Skip Menu |

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

Report information
The Basics
Id: 47036
Status: resolved
Priority: 0/
Queue: XML-RPC-Fast

People
Owner: MONS [...] cpan.org
Requestors: marko.nordberg [...] pp.inet.fi
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.3
Fixed in: (no value)



Subject: XML-RPC fault codes are not accessible
XML-RPC protocol has standard return values faultCode and faultString. When these are returned from the remote server the XML::RPC::Fast throws an exception (croak). This makes above return values inaccessible. This makes XML::RPC::Fast unusable for applications that have logic depending on the faultCode. Fix proposals: - croak error string to include faultString and faultCode in format that is easily parsed - and configuration option wether croak is used at all in these situations.
Срд. Июн. 17 05:06:44 2009, markon писал: Show quoted text
> > XML-RPC protocol has standard return values faultCode and faultString. > > When these are returned from the remote server the XML::RPC::Fast > throws an exception (croak). This makes above return values > inaccessible. > > This makes XML::RPC::Fast unusable for applications that have logic > depending on the faultCode. > > Fix proposals: > - croak error string to include faultString and faultCode in format > that is easily parsed > - and configuration option wether croak is used at all in these > situations. >
I'll fix it (in several days). Also I think I can use $@ for faultString and $! for faultCode
Subject: [rt.cpan.org #47036] AutoReply: XML-RPC fault codes are not accessible
Date: Wed, 29 Jul 2009 10:39:11 +0300 (EEST)
To: <bug-XML-RPC-Fast [...] rt.cpan.org>
From: "marko.nordberg [...] pp.inet.fi" <marko.nordberg [...] pp.inet.fi>
I propose using Exception::Class. Another proposal: Allowing keep-alive in HTTP requests would make successice calls much faster. This requires a persistent user-agent object and possibility to set required options for it or give own UA object. Show quoted text
>XML-RPC protocol has standard return values faultCode and faultString. > >When these are returned from the remote server the XML::RPC::Fast >throws an exception (croak). This makes above return values >inaccessible. > >This makes XML::RPC::Fast unusable for applications that have logic >depending on the faultCode. > >Fix proposals: >- croak error string to include faultString and faultCode in format >that is easily parsed >- and configuration option wether croak is used at all in these >situations.
in version 0.4 there was made all required features