This commit is contained in:
2021-08-30 15:24:31 +08:00
parent 574ad26ced
commit 216363d8a7
2 changed files with 10 additions and 10 deletions
+1 -4
View File
@@ -177,10 +177,7 @@ trait Message
*/
private function addRequestHeader($key, $value)
{
$this->headers[$key] = [];
foreach (explode(';', $value) as $item) {
$this->headers[$key][] = $item;
}
$this->headers[$key] = [$value];
}