What's happening (IMHO) is that the server is sending an invalid response:

If you look at the spec for HTTP 1.0 (rfc 1945), which is the dialect that the 
xmlrpc client uses, you will see that responses 'HTTP 100' are NOT allowed.

The client does not understand this response, and it probably never will, for 
two reasons:

- the client does not even really undertsand fully HTTP 1.0, it only groks HTTP 
200 OK responses, and no-one volunteerde (yet) to add more complete protocol 
support to it

- it is the fault of the server anyway to send it back (see also rfc 2145 for 
http 1.1 / 1.0 interop: http 1.1 responses to 1.0 requests HAVE to be also 
valid http 1.0 responses...)

so you can either:
- modify server config: have the 'http 100' line removed
- patch xmlrpcs.inc on your own to transparently drop the 'http 100' line
- wait for the next version of the lib, maybe someone will add better http 
support (I'm planning to use CURL for http calls, so that that the client will 
get free http 1.1 support)

Bye
gaetano

> -----Messaggio originale-----
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di Wolfgang
> Pichler
> Inviato: mercoledý 2 febbraio 2005 15:13
> A: phpxmlrpc@lists.usefulinc.com
> Oggetto: [phpxmlrpc] HTTP/1.1 100 Continue
> 
> 
> Hi,
> 
> i am using your xmlrpc.inc (// $Id: xmlrpc.inc,v 1.20 2003/01/10
> 22:01:56 dilinger Exp $) php class.
> Its working perfectly - beside one thing:
> It can be that the http response looks like:
> -----------------------
> HTTP/1.1 100 Continue
> 
> HTTP/1.1 200 (OK)
> Date: Wed, 02 Feb 2005 11:45:09 GMT
> Server: Apache
> Content-Length: 277
> Content-Type: text/xml
> 
> <?xml version="1.0"?>
> here does come the rest of the xml document
> -----------------------
> 
> in this case it will fail - but thats a valid response
> 
> So, what can i do to get this working ?
> 
> regards,
> Wolfgang
> 
> _______________________________________________
> phpxmlrpc mailing list
> phpxmlrpc@lists.usefulinc.com
> http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc

_______________________________________________
phpxmlrpc mailing list
phpxmlrpc@lists.usefulinc.com
http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc

Reply via email to