Curl Content-Encoding header?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux