Fixed replace argument on header() not being set to false.
This commit is contained in:
parent
0f3501acc6
commit
60c2130182
2 changed files with 3 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.2503.251417
|
||||
0.2503.251852
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
// Router.php
|
||||
// Created: 2024-03-28
|
||||
// Updated: 2025-03-23
|
||||
// Updated: 2025-03-25
|
||||
|
||||
namespace Index\Http\Routing;
|
||||
|
||||
|
@ -405,7 +405,7 @@ class Router implements RequestHandlerInterface {
|
|||
|
||||
foreach($response->getHeaders() as $name => $lines)
|
||||
foreach($lines as $line)
|
||||
header(sprintf('%s: %s', $name, $line));
|
||||
header(sprintf('%s: %s', $name, $line), false);
|
||||
|
||||
$stream = $response->getBody();
|
||||
if($stream->isReadable())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue