cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP POST: howto get just the the response content?

From: svante karlsson <saka_at_csi.se>
Date: Sun, 3 Apr 2011 01:07:03 +0200

>
> You should only get HTTP headers in the WRITEFUNCTION callback if you have
> CURLOPT_HEADER set.

Thanks, that solved the problem.

I had that options set (also for get and put)
  curl_easy_setopt(_curl, CURLOPT_VERBOSE, 1L);
  curl_easy_setopt(_curl, CURLOPT_HEADER, 1L);

/svante
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-03