Re: [PHP] How to test content encoding?

2001-05-21 Thread Christian Reiniger
On Monday 21 May 2001 08:14, Plutarck wrote: I'm trying to test the gz_handler, among other things, but I have no idea if the output is actually gzip encoded. You could try using wget with a custom Http-Accept-Encoding: header -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/)

[PHP] How to test content encoding?

2001-05-20 Thread Plutarck
I'm trying to test the gz_handler, among other things, but I have no idea if the output is actually gzip encoded. I'm using PHP 4.0.5 as an Apache module, and here's an example of a test script: ?php ob_start(ob_gzhandler); ? pThis should be compressed. [bunch of text here just to ensure it's