docs: Fix FAILONERROR typos
It returns error for >= 400 HTTP responses. Bug: https://github.com/bagder/curl/pull/129
This commit is contained in:
committed by
Daniel Stenberg
parent
2e557de094
commit
1b3a398ec1
@@ -769,7 +769,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
||||
break;
|
||||
case CURLOPT_FAILONERROR:
|
||||
/*
|
||||
* Don't output the >=300 error code HTML-page, but instead only
|
||||
* Don't output the >=400 error code HTML-page, but instead only
|
||||
* return error.
|
||||
*/
|
||||
data->set.http_fail_on_error = (0 != va_arg(param, long))?TRUE:FALSE;
|
||||
|
||||
Reference in New Issue
Block a user