cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Hi ALL,

From: Bruce Peng <promagian_at_gmail.com>
Date: Fri, 29 Feb 2008 19:30:23 +0800

Parse the http header received in function "write calback" manually. Or use
curl_easy_getinfo() to get the response code like Linus said.

bruce

-------Original Message-------
 
From: Ramprakash Jelari thinakaran
Date: 2008/2/29 15:03:08
To: curl-library_at_cool.haxx.se
Subject: Hi ALL,
 
When i do curl_easy_perform() on the wrong URL still i get the return
CURLE_OK.
 
When i say wrong URL , for example [ instead of giving <IP>:8080/example ,
i am giving <IP>:8080/exam ], and
 
the replay i got from server is with HTTP/1.1 404 error. Still my
curl_easy_perform returns with CURLE_OK only!..
 
How can i capture this kind of server error?..

-Jelari-
 

Spiral_notebook.jpg
Received on 2008-02-29