remove my ugly debug info
This commit is contained in:
parent
b1b6a0a69c
commit
e447964639
@ -339,7 +339,7 @@ class HTTPClient extends HTTP_Request2
|
|||||||
$response->redirUrls = $redirUrls;
|
$response->redirUrls = $redirUrls;
|
||||||
if ($code >= 200 && $code < 300) {
|
if ($code >= 200 && $code < 300) {
|
||||||
$reason = $response->getReasonPhrase();
|
$reason = $response->getReasonPhrase();
|
||||||
$this->log(LOG_INFO, "$code $reason - Effective URL: ".$response->getEffectiveUrl().' – redirect: '.json_encode($response->isRedirect()));
|
$this->log(LOG_INFO, "$code $reason");
|
||||||
} elseif ($code >= 300 && $code < 400) {
|
} elseif ($code >= 300 && $code < 400) {
|
||||||
$url = $this->getUrl();
|
$url = $this->getUrl();
|
||||||
$target = $response->getHeader('Location');
|
$target = $response->getHeader('Location');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user