On Mon, May 27, 2013 at 11:33 AM, Mohammad_Alsaleh <[email protected]> wrote:
> Am I doing something wrong?

Instead of expecting it as a header, you should read the code using
curl_easy_getinfo() with CURLINFO_RESPONSE_CODE [1], assuming
curl_easy_perform() returns CURLE_OK.

[1] http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html#CURLINFORESPONSECODE

--
David Strauss
   | [email protected]
   | +1 512 577 5827 [mobile]
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to