Index: branches/5.1.x/core/units/helpers/curl_helper.php =================================================================== diff -u -N -r14368 -r14518 --- branches/5.1.x/core/units/helpers/curl_helper.php (.../curl_helper.php) (revision 14368) +++ branches/5.1.x/core/units/helpers/curl_helper.php (.../curl_helper.php) (revision 14518) @@ -1,6 +1,6 @@ debugMode = constOn('DBG_CURL'); } + + function isGoodResponceCode() + { + if ($this->lastErrorCode != 0) { + return false; + } + + return ($this->lastHTTPCode == 200) || ($this->lastHTTPCode >= 300 && $this->lastHTTPCode < 310); + } } \ No newline at end of file