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()) {
$client = new SClient($host, 443, true);
} else {
var_dump($host, $this->getPort());
$client = new SClient($host, $this->getPort(), false);
}
if (strpos($path, '/') !== 0) {
$path = '/' . $path;
}