Re: Redirects and invalid endpoints
Jay Carlson <[email protected]> Wed, 24 Dec 2008 04:16:22 -0500
| Newsgroups | gmane.text.xml.rpc.specification |
|---|---|
| Message-ID | <[email protected]> |
On Dec 24, 2008, at 2:54 AM, Bill Moseley wrote:
> What do most client libraries do if the HTTP response is not 200?
> Will
> they not parse the body? Or does it depend on the content-type of the
> response?
The central concept of XML-RPC over HTTP is "RPC". The other two have
not been important in the past, and it's unlikely there is any
particular care about HTTP correctness in implementations (especially
given the weird abstraction-breaking of the "Connection: close"
requirement.)
In an ideal world, everybody is using a modern HTTP library that holds
persistent redirects and cookies and auth and etc before the XML-RPC
layer gets into action, but I don't think any of the three
implementations I did got this right. (On the server side, you can
throw Apache in front of things and get a lot of this handling for
free, and on the client side browsers do actually have world-class
HTTP clients.)
Jay
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xml-rpc/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/xml-rpc/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/