This commit is contained in:
2023-04-23 18:34:14 +08:00
parent 22deb97650
commit a8285848d8
+1 -1
View File
@@ -19,7 +19,7 @@ class StreamResponse extends Response
{
$body = $this->getBody();
$total = ceil($this->limit / $body->getSize());
$response->header('Content-Length', [$body->getSize()]);
for ($i = 0; $i < $total; $i++) {
$body->seek($i);