[development] HTTP headers to get the head of the page

nitin gupta nitingupta.iitg at gmail.com
Sun Dec 6 14:22:07 UTC 2009


I am currently using curl (CURLOPT_NOBODY) to exclude the body and to just
get the headers returned by the sever for a http request. I am specifically
interested in the return status code and the content length. Can I do it
using drupal_http_request? What will be the suitable value for the $headers,
so that I don't need to download the whole page?


Nitin Kumar Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20091206/25ca96b6/attachment.html 

More information about the development mailing list