Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-11 15:01:42 +08:00
parent 99f79b7616
commit 93bab6d5eb
+1 -1
View File
@@ -106,7 +106,7 @@ class AsyncClient extends ClientAbstracts
private function execute(string $path, string $content)
{
$array = [];
$array[] = strtoupper($this->getMethod()) . ' ' . $path . ' HTTP/1.1';
$array[] = strtoupper($this->getMethod()) . ' ' . $path . ' HTTP/1.0';
if (!empty($this->getHeader())) {
foreach ($this->getHeader() as $key => $value) {
$array[] = sprintf('%s: %s', $key, $value);