unconditionalliy. Previously, the code check was for >= 300 unless follow-
location was enabled...
data->info.httpversion = httpversion;
/* 404 -> URL not found! */
- if (
- ( ((data->set.http_follow_location) &&
- (httpcode >= 400))
- ||
- (!data->set.http_follow_location &&
- (httpcode >= 300)))
- && (data->set.http_fail_on_error)) {
+ if (data->set.http_fail_on_error &&
+ (httpcode >= 400)) {
/* If we have been told to fail hard on HTTP-errors,
here is the check for that: */
/* serious error, go home! */