@@ -129,7 +129,9 @@ |
||
| 129 | 129 | |
| 130 | 130 | $headers = []; |
| 131 | 131 | foreach ($options->getHeader() as $header => $value) { |
| 132 | - if (Utils::insensitiveString($header, 'content-type')) continue; |
|
| 132 | + if (Utils::insensitiveString($header, 'content-type')) { |
|
| 133 | + continue; |
|
| 134 | + } |
|
| 133 | 135 | $headers[] = $header . ': ' . $value; |
| 134 | 136 | } |
| 135 | 137 | $headers[] = 'Content-Type: multipart/form-data'; |