curl / Mailing Lists / curl-library / Single Mail

curl-library

File not found error in https

From: sandeep kotta via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 1 Apr 2019 19:06:38 +0530

Hi,

How can I be able to catch 404 (File not found) error in case of
http/https using libcurl?
I have found that we will get CURLE_HTTP_RETURNED_ERROR when the
option CURLOPT_FAILONERROR is used. Is there any way to get the exact
http error instead?

Thanks,
Sandeep.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-04-01