Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #328 from spaze/patch-1
Browse files Browse the repository at this point in the history
Remove EOL from Content-Type header
  • Loading branch information
katmsft committed Aug 30, 2022
2 parents 0539ffb + 99b7500 commit f12ca0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function encodeMimeMultipart(array $bodyPartContents)
$batchBody =& $result['body'];
$batchHeaders =& $result['headers'];

$batchHeaders['Content-Type'] = $mimeType . "; $eof boundary=\"$batchId\"";
$batchHeaders['Content-Type'] = $mimeType . "; boundary=\"$batchId\"";

$batchBody .= "--" . $batchId . $eof;
$batchBody .= "Content-Type: $mimeType; boundary=\"$changeSetId\"" . $eof;
Expand Down

0 comments on commit f12ca0e

Please sign in to comment.