Skip to content

Commit 4b85c1f

Browse files
committed
fix: use proper linebreaks in multipart body
1 parent e69d00e commit 4b85c1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ public function uploadPhoto($uri, $file)
470470
public function buildDataFiles($boundary, $fields, $files)
471471
{
472472
$data = '';
473-
$eol = PHP_EOL;
473+
$eol = "\r\n";
474474

475475
$delimiter = '-------------'.$boundary;
476476

0 commit comments

Comments
 (0)