Skip to content

Commit

Permalink
Fixed headers for ServerRequest v2.
Browse files Browse the repository at this point in the history
  • Loading branch information
debuss committed Aug 21, 2019
1 parent a47699e commit ee31458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/ServerRequest.php
Expand Up @@ -57,7 +57,7 @@ public function __construct(string $method, $uri, array $server = null)
$this->headers[$header] = [];
}

$this->headers[$header] = array_merge($this->headers[$header], $value);
$this->headers[$header][] = $value;
}
}

Expand Down

0 comments on commit ee31458

Please sign in to comment.