summaryrefslogtreecommitdiff
path: root/app/Controller/AvatarFile.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/AvatarFile.php')
-rw-r--r--app/Controller/AvatarFile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controller/AvatarFile.php b/app/Controller/AvatarFile.php
index 67c3efe1..1891a2fc 100644
--- a/app/Controller/AvatarFile.php
+++ b/app/Controller/AvatarFile.php
@@ -65,6 +65,7 @@ class AvatarFile extends BaseController
$this->response->withContentType('image/jpeg');
if ($this->request->getHeader('If-None-Match') !== '"'.$etag.'"') {
+ $this->response->send();
$this->render($filename, $size);
} else {
$this->response->status(304);