diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-10-18 03:30:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 03:30:21 +0200 |
commit | 154a9989a7a78c02ce8811f03e6879240ad9e57c (patch) | |
tree | 99e7bd1f8191d251ebd7da866a4c14dbb7502b91 /core/Controller | |
parent | e1d33096d387314b20313204a17389225b44d957 (diff) | |
parent | 066f6ef16c7adb365b8c260ea6f06906ab63724e (diff) | |
download | nextcloud-server-154a9989a7a78c02ce8811f03e6879240ad9e57c.tar.gz nextcloud-server-154a9989a7a78c02ce8811f03e6879240ad9e57c.zip |
Merge pull request #39852 from nextcloud/pragmaHeader
Stop sending deprecated Pragma header
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/CssController.php | 1 | ||||
-rw-r--r-- | core/Controller/JsController.php | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/core/Controller/CssController.php b/core/Controller/CssController.php index 30e0b0ce73b..3406db40653 100644 --- a/core/Controller/CssController.php +++ b/core/Controller/CssController.php @@ -90,7 +90,6 @@ class CssController 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; } 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; } |