Index: curl_helper.php =================================================================== --- curl_helper.php (revision 14184) +++ curl_helper.php (working copy) @@ -289,4 +289,13 @@ // restore debug mode setting $this->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