cURL / Mailing Lists / curl-users / Single Mail

curl-users

Is there a API to get HTTP Response headers

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

Hi,

 

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.

 

 

Thanks

Seethaprasad

 

 
Received on 2005-06-22