cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: how i can list headers when i use curl_easy_recv() ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Feb 2015 23:31:40 +0100 (CET)

On Thu, 19 Feb 2015, Cooler_ wrote:

> So i have one problem, when i follow this example
> http://curl.haxx.se/libcurl/c/sendrecv.html don't return "headers" of
> response, how i can return headers ?

That example make use of curl_easy_send() and curl_easy_recv(). They read and
write raw data from the socket. Then everything is up to you.

If you want to speak a protocol libcurl knows, I strongly suggest you don't
use those functions.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-19