Curl Content-Encoding header?

From: Date: Fri, 09 Dec 2005 02:10:12 +0000
Subject: Curl Content-Encoding header?
Groups: php.general 
Request: Send a blank email to php-general+get-227165@lists.php.net to get a copy of this message
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!

« previous php.general (#227165) next »