cURL / Mailing Lists / curl-library / Single Mail


Re: Help - retriveal of header & body info

From: Julien Chaffraix <>
Date: Thu, 31 Dec 2009 13:26:18 +0100


> ††††† retCode =curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION,
> write_data);

You are overriding the default write function here.

> I am not able to retrieve the header & body information using the above
> piece of code. I didnít get any error message using CURLcode.
> I got the content of head.out as

[snipped the header information]

> & the† empty information in body.out file.

Do you get something in body.out if you remove the above line in your code?

Best regards,
List admin:
Received on 2009-12-31