Hello all,

I have been trying to get the Content-Encoding header from Curl, but have yet to manage.

Using curl from command line I have no problems simply using:
curl --compress page_to_get -o local_page_copy -D dumpheader.txt

The data gets compressed and uncompressed also in PHP, I am just looking for a way to capture whether the compression was used or not, and in case it was used, what Content-Encoding was used.

I would be happy for a tip to simply get the full response header too ;)

In advance thanks!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to