cURL / Mailing Lists / curl-library / Single Mail


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

From: Daniel Stenberg <>
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

  Commercial curl and libcurl Technical Support:
Received on 2007-05-01