curl-library
Re: How to get cache related headers from http response??
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 1 May 2007 16:56:22 +0200 (CEST)
Date: Tue, 1 May 2007 16:56:22 +0200 (CEST)
On Mon, 30 Apr 2007, Jais.T.Mathew wrote:
> 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??
Your top-posting makes this thread confusing to read.
The CURLOPT_HEADFUNCTION will get your callback called with a pointer to a
header, and it'll be called once for every header in the received response. A
header in this context is a series of bytes with the length given in the
arguments.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-05-01