This commit is contained in:
2021-01-11 15:19:20 +08:00
parent c404cd6b46
commit 1d07c78f1a
-2
View File
@@ -82,10 +82,8 @@ class Client extends ClientAbstracts
if ($isHttps || $this->isSSL()) { if ($isHttps || $this->isSSL()) {
$client = new SClient($host, 443, true); $client = new SClient($host, 443, true);
} else { } else {
var_dump($host, $this->getPort());
$client = new SClient($host, $this->getPort(), false); $client = new SClient($host, $this->getPort(), false);
} }
if (strpos($path, '/') !== 0) { if (strpos($path, '/') !== 0) {
$path = '/' . $path; $path = '/' . $path;
} }