We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8795c13 commit 386cdc4Copy full SHA for 386cdc4
1 file changed
Classes/Http/RequestStorageComponent.php
@@ -58,5 +58,7 @@ public function handle(ComponentContext $componentContext)
58
59
$modifiedResponse = $response->withHeader('X-Storage-Component', $entryIdentifier);
60
$this->cacheFrontend->set($entryIdentifier, str($modifiedResponse), $tags, $lifetime);
61
+ // TODO: because stream is copied ot the modifiedResponse we would get empty output on first request
62
+ $response->getBody()->rewind();
63
}
64
0 commit comments