-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.FailOnServerError
Andrew Lambert edited this page Sep 29, 2021
·
14 revisions
libcURL.EasyHandle.FailOnServerError
Dim FailOnServerError As Boolean
Gets and sets whether HTTP error codes constitute a failure condition. The libcURL error code for such a failed transfer will be CURLE_HTTP_RETURNED_ERROR
(22). Refer to the ErrorBuffer for additional details.
When this is set to True
, the Perform method will return False
on HTTP requests that return a status code that is >=400
. In addition, any downloaded data (such as an HTML error page) is discarded and the connection is terminated.
This property is False
by default, but be aware that the cURLClient
class initializes it to True
.
- CURLOPT_FAILONERROR in the libcURL documentation.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.