cURL / Mailing Lists / curl-users / Single Mail


Is there a API to get HTTP Response headers

From: Seethaprasad <>
Date: Wed, 22 Jun 2005 20:22:20 +0530



Iam using libCurl in my project, to make http request. I need to read the
response headers which is returned as part of the response.

I looked at the code and didn't find a API, which gives me the header value
given the header name. Any help in this would be helpful.


The other workaround possible is to provide a callback to Curl Lib which
gets called when headers are parsed.


What is recommended?


Library Version : 7.13

Used in : Windows and Linux.






Received on 2005-06-22