mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00:00
Revert "Fix IHTTPResult::getHeader/s() - Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s() - Fix functionality at various places - Adapt CurlResultTest"
This reverts commit 933ea7c9
This commit is contained in:
parent
4b59fe4cf7
commit
069753416d
11 changed files with 28 additions and 96 deletions
|
@ -1358,7 +1358,7 @@ class DFRN
|
|||
return -9; // timed out
|
||||
}
|
||||
|
||||
if (($curl_stat == 503) && $postResult->inHeader('retry-after')) {
|
||||
if (($curl_stat == 503) && stristr($postResult->getHeader(), 'retry-after')) {
|
||||
return -10;
|
||||
}
|
||||
|
||||
|
@ -1453,7 +1453,7 @@ class DFRN
|
|||
return -9; // timed out
|
||||
}
|
||||
|
||||
if (($curl_stat == 503) && $postResult->inHeader('retry-after')) {
|
||||
if (($curl_stat == 503) && (stristr($postResult->getHeader(), 'retry-after'))) {
|
||||
return -10;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue