We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0735218 commit f764091Copy full SHA for f764091
src/Http/Batch.php
@@ -207,7 +207,7 @@ private function parseRawHeaders($rawHeaders)
207
list($header, $value) = explode(': ', $headerLine, 2);
208
$header = strtolower($header);
209
if (isset($headers[$header])) {
210
- $headers[$header] .= "\n" . $value;
+ $headers[$header] = array_merge((array)$headers[$header], (array)$value);
211
} else {
212
$headers[$header] = $value;
213
}
0 commit comments