We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a09b6 commit 2b95853Copy full SHA for 2b95853
src/Qiniu/Http/Client.php
@@ -87,11 +87,10 @@ private static function sendRequest($request)
87
);
88
89
// Handle open_basedir & safe mode
90
- if (!ini_get('safe_mode') && !ini_get('open_basedir'))
91
- {
+ if (!ini_get('safe_mode') && !ini_get('open_basedir')) {
92
$options[CURLOPT_FOLLOWLOCATION] = true;
93
}
94
-
+
95
if (!empty($request->headers)) {
96
$headers = array();
97
foreach ($request->headers as $key => $val) {
0 commit comments