Skip to content

Commit 9b4c474

Browse files
committed
Merge pull request #156 from xuliuzhi/patch-2
Update Client.php
2 parents d19503e + d45cd42 commit 9b4c474

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Qiniu/Http/Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ private static function sendRequest($request)
8383
CURLOPT_HEADER => true,
8484
CURLOPT_NOBODY => false,
8585
CURLOPT_CUSTOMREQUEST => $request->method,
86+
CURLOPT_FOLLOWLOCATION => 1,
8687
CURLOPT_URL => $request->url
8788
);
8889

0 commit comments

Comments
 (0)