cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Hi ALL,

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 1 Mar 2008 16:08:39 +0100 (CET)

On Sat, 1 Mar 2008, Ramprakash Jelari thinakaran wrote:

> Is there any way to get my own predefined header information, rather than
> doing maual parsing. Eg.. in the reply header i am adding my own value like
> COUNTRY: XYZ. Is there any API presents to parse this?..

The "manual parsing" is the API provided. You don't really need to "parse"
much but to do simple string comparisons if you're looking for a fixed header
name.

But no, there's no other more fancy API for extracting headers, as I've never
seen any need for that.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-03-01