summaryrefslogtreecommitdiffstats
path: root/core/Controller/JsController.php
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2023-08-13 23:07:38 +0200
committerAnna <anna@nextcloud.com>2023-08-28 15:11:22 +0200
commit066f6ef16c7adb365b8c260ea6f06906ab63724e (patch)
tree65ed7c3ebdd1d63f7aad47326cf1689475176753 /core/Controller/JsController.php
parentc2d55ab5f6284313a999c4d71224c0401f04edd4 (diff)
downloadnextcloud-server-066f6ef16c7adb365b8c260ea6f06906ab63724e.tar.gz
nextcloud-server-066f6ef16c7adb365b8c260ea6f06906ab63724e.zip
Stop sending deprecated Pragma header
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Diffstat (limited to 'core/Controller/JsController.php')
-rw-r--r--core/Controller/JsController.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/Controller/JsController.php b/core/Controller/JsController.php
index 02e0c16b5a1..e2b432fef5e 100644
--- a/core/Controller/JsController.php
+++ b/core/Controller/JsController.php
@@ -90,7 +90,6 @@ class JsController extends Controller {
$expires->setTimestamp($this->timeFactory->getTime());
$expires->add(new \DateInterval('PT'.$ttl.'S'));
$response->addHeader('Expires', $expires->format(\DateTime::RFC1123));
- $response->addHeader('Pragma', 'cache');
return $response;
}