This commit is contained in:
2021-01-11 18:33:59 +08:00
parent 05876b9784
commit 37037b3056
+1
View File
@@ -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)) {