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 df83d83 commit 6d483fbCopy full SHA for 6d483fb
src/Response.php
@@ -524,11 +524,10 @@ protected function sendHeaders() : void
524
$this->negotiateEtag();
525
}
526
$this->negotiateCsp();
527
- $code = $this->getStatusCode();
+ \header($this->getStartLine());
528
$replace = $this->isReplacingHeaders();
529
- \header($this->getStartLine(), true, $code);
530
foreach ($this->getHeaderLines() as $line) {
531
- \header($line, $replace, $code);
+ \header($line, $replace);
532
533
$this->headersSent = true;
534
0 commit comments