You are here: Curl Content-Encoding header? « PHP « IT news, forums, messages
Curl Content-Encoding header?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация