cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re[2]: more detailed error reporting

From: Serge Semashko <ss_at_vba.com.by>
Date: Mon, 2 Jun 2003 13:33:09 +0300

Hello Daniel,

Monday, June 02, 2003, 1:21:34 PM, you wrote:

DS> On Sat, 31 May 2003, Serge Semashko wrote:

>> Here is a simple patch for more detailed error reporting in
>> CURLOPT_FAILONERROR mode.

DS> I'm sorry, but I don't agree we need to provide this additional info. Those
DS> reasons are perfectly and more accurately described in the HTTP RFC.

The point is that when CURLOPT_FAILONERROR option is set in
curl_easy_perform, there is no way to get this HTTP error code from
libcurl, or am I wrong?

I addition, current string for error buffer is not quite correct, it
is always set to "The requested file was not found".

-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Received on 2003-06-02