From ec4ca2dce4bb59400646746d6ec915eeb2002ad0 Mon Sep 17 00:00:00 2001 From: yejingx Date: Wed, 17 Jul 2019 23:09:26 +0800 Subject: [PATCH] fix expect header --- src/Upyun/Api/Rest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Upyun/Api/Rest.php b/src/Upyun/Api/Rest.php index be4b0a0..2a6ec3c 100644 --- a/src/Upyun/Api/Rest.php +++ b/src/Upyun/Api/Rest.php @@ -103,6 +103,7 @@ public function withHeaders($headers) $this->withHeader($header, $value); } } + $this->withHeader('Expect', ''); return $this; }