cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Jais.T.Mathew <jais.t.mathew_at_gmail.com>
Date: Mon, 30 Apr 2007 14:08:16 +0530

Okay . but one thing is not clear that is, the ptr vairable of call
back (first valiable void * ptr ) will have the header and values ..
currect??

Thanks & Regards
Jais.

On 4/30/07, Jeff Pohlmeyer <yetanothergeek_at_gmail.com> wrote:
> > 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