Skip to content

Commit bd0009f

Browse files
committed
disable Expect header
1 parent a3513fc commit bd0009f

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
@@ -96,6 +96,7 @@ private static function sendRequest($request)
9696
if (!empty($request->body)) {
9797
$options[CURLOPT_POSTFIELDS] = $request->body;
9898
}
99+
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
99100
curl_setopt_array($ch, $options);
100101
$result = curl_exec($ch);
101102
$t2 = microtime(true);

0 commit comments

Comments
 (0)