cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: About Response printing through curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 May 2008 12:38:59 +0200 (CEST)

On Tue, 13 May 2008, Ajeet kumar.S wrote:

> What response was coming from server (Like HTTP/1.1 200 OK, 302 moved ,etc
> ).It was printing whole content. Can I set any parameter in curl_easy_setopt
> or other way, that it will not print response which is coming from server,
> only what I need, we can print using printf.

Are you saying that you get headers printed out that you don't want? Then
disable verbose and/or make sure you provide a write callback to receive the
response.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-05-13