|  | Posted by Kenneth Andresen on 12/09/05 04:10 
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!
  Navigation: [Reply to this message] |