cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to get cache related headers from http response??

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Mon, 30 Apr 2007 03:17:10 -0500

> I am would like to get the cache related headers using libcurl lib..
> is it possible??.

Yes.

> if not .. There is any other way to get the http headers using libcurl?

Did you see the curl_easy_setopt man page
about CURLOPT_HEADERFUNCTION?

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTHEADERFUNCTION

 - Jeff
Received on 2007-04-30