|
@@ -520,7 +520,8 @@ class util
|
|
|
static $errors = [CURLE_GOT_NOTHING,CURLE_RECV_ERROR];
|
|
|
return in_array($code,$errors);
|
|
|
} elseif($type == "HTTP") {
|
|
|
- return true;
|
|
|
+ static $excludes = [404];
|
|
|
+ return !in_array($code,$excludes);
|
|
|
} else {
|
|
|
return false;
|
|
|
}
|