aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Http/FileDisplayResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/AppFramework/Http/FileDisplayResponse.php')
-rw-r--r--lib/public/AppFramework/Http/FileDisplayResponse.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/FileDisplayResponse.php b/lib/public/AppFramework/Http/FileDisplayResponse.php
index ab23701f893..2d2dd29e6a1 100644
--- a/lib/public/AppFramework/Http/FileDisplayResponse.php
+++ b/lib/public/AppFramework/Http/FileDisplayResponse.php
@@ -45,6 +45,8 @@ class FileDisplayResponse extends Response implements ICallbackResponse {
*/
public function __construct($file, $statusCode=Http::STATUS_OK,
$headers=[]) {
+ parent::__construct();
+
$this->file = $file;
$this->setStatus($statusCode);
$this->setHeaders(array_merge($this->getHeaders(), $headers));