curl-library
easy_peform return Code ?
From: Ram <weshriram_at_yahoo.com>
Date: Fri, 10 Sep 2004 01:53:12 -0700 (PDT)
Date: Fri, 10 Sep 2004 01:53:12 -0700 (PDT)
Hi,
I have "posted" some data to server using curl_easy_perform ( ).
The file specified in the url does not exist. So, Server sends information
stating 404 File NOT found. This information is sent as a http page.
curl_easy_perform is returning 0.
I dont want to parse the data sent by the server and search for 404 File not found.
Can i get 404 Not found as the returned value of curl_easy_perform ( ) .
similarly any other error. i want curl_easy_perform ( ) to return the http error code.
how can this be achieved ?.
Regards,
Sriram
---------------------------------
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
Received on 2004-09-10