aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
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 /lib/private/legacy
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 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_Files.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Files.php b/lib/private/legacy/OC_Files.php
index 7bc1fab94b6..ecca6d3819f 100644
--- a/lib/private/legacy/OC_Files.php
+++ b/lib/private/legacy/OC_Files.php
@@ -76,7 +76,6 @@ class OC_Files {
private static function sendHeaders($filename, $name, array $rangeArray): void {
OC_Response::setContentDispositionHeader($name, 'attachment');
header('Content-Transfer-Encoding: binary', true);
- header('Pragma: public');// enable caching in IE
header('Expires: 0');
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
$fileSize = \OC\Files\Filesystem::filesize($filename);