-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.FailOnServerError
Andrew Lambert edited this page Jun 12, 2016
·
14 revisions
#libcURL.EasyHandle.FailOnServerError
##Property Declaration
Dim FailOnServerError As Boolean
##Remarks
Gets and sets whether HTTP error codes constitute a failure condition. The 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 default), the Perform method will return False
on HTTP requests that return a status code that is >=400
. In addition, any downloaded data is discarded and the connection is terminated.
##See also
- 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.