Skip to content

Commit

Permalink
Update src/Roots/Acorn/Application/Concerns/Bootable.php
Browse files Browse the repository at this point in the history
  • Loading branch information
QWp6t authored Sep 24, 2024
1 parent 5ae170d commit a0b78d6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Roots/Acorn/Application/Concerns/Bootable.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ protected function registerDefaultRoute(): void
Route::any('{any?}', fn () => tap(response(''), function (Response $response) {
foreach (headers_list() as $header) {
[$header, $value] = explode(':', $header, 2);
// HTTP/1.1 Header specification: https://datatracker.ietf.org/doc/html/rfc7230#section-3.2
// remove the optional leading whitespace
$value = ltrim($value);

if (! headers_sent()) {
header_remove($header);
Expand Down

0 comments on commit a0b78d6

Please sign in to comment.