Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e17658d

Browse files
committed
Finish 115-media-downloads, fix jublo#115
2 parents bb1c307 + 36d037a commit e17658d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/codebird.php

+1
Original file line numberDiff line numberDiff line change
@@ -1247,6 +1247,7 @@ protected function _buildMultipart($method, $params)
12471247
if ($this->_use_curl) {
12481248
$ch = $this->getCurlInitialization($value);
12491249
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
1250+
curl_setopt($ch, CURLOPT_HEADER, 0);
12501251
// no SSL validation for downloading media
12511252
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
12521253
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);

0 commit comments

Comments
 (0)