Revert "改名"
This reverts commit fdf58326
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ class AsyncClient extends ClientAbstracts
|
|||||||
private function execute(string $path, string $content)
|
private function execute(string $path, string $content)
|
||||||
{
|
{
|
||||||
$array = [];
|
$array = [];
|
||||||
$array[] = strtoupper($this->getMethod()) . ' ' . $path . ' HTTP/1.1';
|
$array[] = strtoupper($this->getMethod()) . ' ' . $path . ' HTTP/1.0';
|
||||||
if (!empty($this->getHeader())) {
|
if (!empty($this->getHeader())) {
|
||||||
foreach ($this->getHeader() as $key => $value) {
|
foreach ($this->getHeader() as $key => $value) {
|
||||||
$array[] = sprintf('%s: %s', $key, $value);
|
$array[] = sprintf('%s: %s', $key, $value);
|
||||||
|
|||||||
Reference in New Issue
Block a user