Discussion:
[phpxmlrpc] XMLRPC - gzip
bolle at tiscali.co.uk ()
2008-06-26 18:28:59 UTC
Permalink
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?

Thanks in advance.

Brian



__________________________________________________________

Euro 2008: Who'll be in the final? - http://www.tiscali.co.uk/euro2008
__________________________________________________________
Gaetano Giunta
2008-06-26 18:48:08 UTC
Permalink
Post by bolle at tiscali.co.uk ()
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
HTTP/1.0 200 OK
Server: httpd/1.00
Cache-Control: no-cache
Expires: 0
Content-Type: text/xml
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
Post by bolle at tiscali.co.uk ()
Thanks in advance.
Brian
__________________________________________________________
Euro 2008: Who'll be in the final? - http://www.tiscali.co.uk/euro2008
__________________________________________________________
_______________________________________________
phpxmlrpc mailing list
http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc
Loading...