cURL / Mailing Lists / curl-library / Single Mail


Re: How to extract a header value from a POST response

From: Ben Noordhuis <>
Date: Fri, 18 Mar 2011 13:43:16 +0100

2011/3/18 Javier Gálvez Guerrero <>:
> 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

List admin:
Received on 2011-03-18