Index: trunk/extensions/MogileClient/MogileFS.php |
— | — | @@ -256,7 +256,8 @@ |
257 | 257 | curl_setopt($ch,CURLOPT_INFILE, $fin); |
258 | 258 | curl_setopt($ch,CURLOPT_INFILESIZE, filesize($filename)); |
259 | 259 | curl_setopt($ch,CURLOPT_TIMEOUT, 4); |
260 | | - curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
| 260 | + curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); |
| 261 | + curl_setopt($ch,CURLOPT_HTTPHEADER, array('Expect: ')); |
261 | 262 | if(!curl_exec($ch)) { |
262 | 263 | $this->error=curl_error($ch); |
263 | 264 | curl_close($ch); |