curl-library
Re: How to extract a header value from a POST response
Date: Mon, 21 Mar 2011 14:20:24 +0100
Thanks Ben, it worked.
Regards,
Javier
2011/3/18 Ben Noordhuis <info_at_bnoordhuis.nl>
> 2011/3/18 Javier Gálvez Guerrero <javier.galvez.guerrero_at_gmail.com>:
> > However, I do not know how to extract response headers. Should I set any
> > option to the easy handler? I have read the tutorial but I do not get any
> > answer to such issue. Any help would be really appreciated.
>
> Response headers or response body? You can get the headers with the
> CURLOPT_HEADERFUNCTION callback, the response body with
> CURLOPT_WRITEFUNCTION.
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-21