On Thu, 18 Jun 2009, Aditya Kumar Gupta wrote:

Please don't top-post.

One more query. While I try to override the HTTP header using headers = curl_slist_append(headers, "Accept: application/json"); I get Accept: */* too besides the one I set. The saw this while used the library in verbose mode.

I want to override the existing variable and not append to that.

That sounds like you're using an older libcurl version and should upgrade.

--

 / daniel.haxx.se

Reply via email to