Skip to content

libcURL.EasyHandle.FailOnServerError

Andrew Lambert edited this page Mar 15, 2017 · 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

Clone this wiki locally