From eab5bd4d5d7d6f6183d81321c8baf32892148fe4 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 13 Jul 2021 16:46:00 +0545 Subject: [PATCH] Update app/controllers/api/storage.php Co-authored-by: Eldad A. Fux --- app/controllers/api/storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index cc00baee0c..e84ec7be1c 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -791,7 +791,7 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId/download') ; if ($device->getFileSize($path) > APP_LIMIT_COMPRESSION) { - $response->addHeader('Content-Length',$device->getFileSize($path)); + $response->addHeader('Content-Length', $device->getFileSize($path)); $handle = fopen($path, 'rb'); while(!feof($handle)) {