Skip to content

Commit df16681

Browse files
authored
Update Client.php
1 parent 97b7bfe commit df16681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ public function __construct(array $cosConfig) {
364364

365365

366366
// 更新请求的 URI 和主机头
367-
$request->withUri($uri)->withHeader('Host', $host);
367+
$request = $request->withUri($uri)->withHeader('Host', $host);
368368
return $request;
369369
}
370370
return $request;

0 commit comments

Comments
 (0)