Skip to content

Commit 6884a53

Browse files
authored
Merge pull request #467 from dftd/patch-1
Fix request headers
2 parents 4dd2b05 + c808722 commit 6884a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/CurlDispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ private function getRequestHeaders(): array
166166
case 'user-agent':
167167
break;
168168
default:
169-
$headers[$name] = implode(', ', $values);
169+
$headers[] = $name . ':' . implode(', ', $values);
170170
}
171171
}
172172

0 commit comments

Comments
 (0)