diff --git a/Classes/Aspect/CollectDebugInformationAspect.php b/Classes/Aspect/CollectDebugInformationAspect.php index 3bce945..b900621 100644 --- a/Classes/Aspect/CollectDebugInformationAspect.php +++ b/Classes/Aspect/CollectDebugInformationAspect.php @@ -110,6 +110,7 @@ public function addDebugValues(JoinPointInterface $joinPoint) if ($response instanceof Response) { $output = $response->getBody()->getContents(); + $response->getBody()->rewind(); if ($response->getHeader('Content-Type') !== 'text/html' && strpos($output, '') === false) {