From 37037b3056e00819ad5f44a2c0c7528b81340aef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 11 Jan 2021 18:33:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Client/Client.php | 1 + 1 file changed, 1 insertion(+) diff --git a/HttpServer/Client/Client.php b/HttpServer/Client/Client.php index b5549f2a..5ed12013 100644 --- a/HttpServer/Client/Client.php +++ b/HttpServer/Client/Client.php @@ -57,6 +57,7 @@ class Client extends ClientAbstracts return $this->structure($body, $data, $client->getHeaders()); } if ($client->getStatusCode() == 302) { + var_dump($body, $client->getHeaders()['location']); return $this->get($client->getHeaders()['location']); } if (is_string($body)) {