Re: XMLRPC - gzip

Gaetano Giunta <[email protected]> Thu, 26 Jun 2008 14:47:54 +0200
Newsgroups gmane.comp.php.xml-rpc
Message-ID <[email protected]>
[email protected] a =C3=A9crit :
> Hi,
>
> I'm a big fan of PHPXMLRPC but have run into an issue I can't get my=20
> head around. It appears that Internet Explorer 7.0 hates (when running
> flash) content which is gziped. So when we sent something to the flash=20
> application like this:
>
> HTTP/1.0 200 OK
> Server: httpd/1.00
> Cache-Control: no-cache
> Expires: 0
> Content-Type: text/xml
>
> It's very happy BUT if we do use this:
>
> HTTP/1.0 200 OK
> Server: httpd/1.00
> Cache-Control: no-cache
> Expires: 0
> Content-Type: text/xml
> Content-Encoding: gzip
> Content-Length: 921
>
> It hangs.... How can I make sure that PHPXMLRPC doesn't gzip stuff?
>  =20
You should do $server->compress_response =3D false; before calling=20
$server->service();

bye
Gaetano
> Thanks in advance.
>
> Brian
>
>
>
> __________________________________________________________
>
> Euro 2008: Who'll be in the final? - http://www.tiscali.co.uk/euro2008
> __________________________________________________________
>
> _______________________________________________
> phpxmlrpc mailing list
> [email protected]
> http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc
>
>  =20