Re: zlib / xmlrpc

Gaetano Giunta <[email protected]> Sun, 29 Jun 2008 19:42:41 +0200
Newsgroups gmane.comp.php.xml-rpc
Message-ID <[email protected]>
[email protected] a =C3=A9crit :
> Hi,
>
> I seem to have confused everyone - including myself with my last=20
> question. I got my versions of XML-RPC mixed up and it appears that I'm=
=20
> using the PHP extention which does not appear to be a capable of=20
> sending un-compressed XML which is a problem because Internet explorer=20
> has a bug in it which breaks any flash movies  receiving cached data.
>  =20
Uhm, looks more like a flash bug than IE one.
In general, any server which respects the http protocol will only send=20
compressed responses when the client declares support for it in the reque=
st.
To disable output compression done by php, you can
- check out the values of output_handler and zlib.output_compression in=20
php.ini file. If you control that file, you should disable both. Or you=20
can use ini_set from within your serever php file.
- verify if http compression is not done by the webserver after the php=20
processing (eg. by mod_deflate for apache)
> So I'm now considering using the PHPXMLRPC extention. I understand=20
> that using the EXTRAS package I should be able to create an environment=
=20
> which is totally compatible with the PHP extension.=20
>
> One of the features we use (a lot..) in the PHP extentions is the=20
> ability that you can swap between XML-RPC format and simpleRPC. See:
>
> http://xmlrpc-epi.sourceforge.net/main.php?t=3Dphp_api#output_options
>
> Is that supported in the PHPXMLRPC implementation?
>  =20
Not yet, sorry. The reimplemented version of xmlrpc_server_call_method=20
does not honour the $output_options parameter at all.
It might be a nice addition, but I have no time frame for that.

Bye
Gaetano
> Thanks in advance.
>
> Brian.
>
>  =20