[phpxmlrpc] XMLRPC - gzip

Gaetano Giunta giunta.gaetano at gmail.com
Thu Jun 26 13:47:54 BST 2008


bolle at tiscali.co.uk a écrit :
> Hi,
>
> I'm a big fan of PHPXMLRPC but have run into an issue I can't get my 
> 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 
> 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?
>   
You should do $server->compress_response = false; before calling 
$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
> phpxmlrpc at lists.usefulinc.com
> http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc
>
>   



More information about the phpxmlrpc mailing list