I just have a question thats been pozzling my head all morning.
I want to get all http headers thru CURL ... and find out, if pinged url is compressed, or not. (either one of: gzip / x-gzip / deflate / compress)
But all I can get from CURL is this:
[url] => http://www.url
[content_type] => text/html; charset=UTF-8
[http_code] => 302
[header_size] => 764
[request_size] => 54
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.042535
[namelookup_time] => 0.002779
[connect_time] => 0.014986
[pretransfer_time] => 0.015039
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => 218
[upload_content_length] => 0
[starttransfer_time] => 0.042204
[redirect_time] => 0`
Nothnig like "Content-encoding" ... any chance to get that thru PHP?