Curl Response Refactoring
- refactored Network::getCurl() - replaced every Network::getCur() execution with a Curl Response
This commit is contained in:
@@ -193,7 +193,7 @@ class Salmon
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (($return_code == 503) && (stristr(Network::getCurl()->getHeaders(), 'retry-after'))) {
|
||||
if (($return_code == 503) && (stristr($postResult->getHeader(), 'retry-after'))) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user