Skip to content

Commit 8a80e12

Browse files
committed
Only do the response prepare immediately before sending.
1 parent 2c8fd1c commit 8a80e12

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/Framework/Kernel/HttpKernel.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ public function handleRequestWithoutErrorHandling(Request $request): Response
7474
$response = $controller->{$controllerMethodId}($request);
7575
assert($response instanceof Response);
7676

77-
/* does additional checks and mutations based on contents */
78-
$response->prepare($request);
79-
8077
return $response;
8178
}
8279
}

0 commit comments

Comments
 (0)