Skip to content

Commit

Permalink
enable curl safe upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mrthreema committed Aug 24, 2015
1 parent 54ad660 commit 564a2c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/Threema/MsgApi/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ protected function postMultiPart(MultiPartCommandInterface $command) {

$options[CURLOPT_POST] = true;
$options[CURLOPT_HTTPHEADER] = array('Content-Type: multipart/form-data');
$options[CURLOPT_SAFE_UPLOAD] = true;
$options[CURLOPT_POSTFIELDS] = array(
'blob'=> $command->getData()
);
Expand Down

0 comments on commit 564a2c2

Please sign in to comment.