Skip to content

Commit a4aa529

Browse files
Call the prepare method (#28)
* Call the prepare method * Allow terminate to possibly mutate the response
1 parent a0a28e0 commit a4aa529

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/LaravelHttpHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public function handleRequest(HttpRequestEvent $event, Context $context): HttpRe
5353

5454
$response = $this->kernel->handle($request);
5555
$this->kernel->terminate($request, $response);
56+
$response->prepare($request);
5657

5758
return new HttpResponse($response->getContent(), $response->headers->all(), $response->getStatusCode());
5859
}

0 commit comments

Comments
 (0)