diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2023-08-13 23:07:38 +0200 |
---|---|---|
committer | Anna <anna@nextcloud.com> | 2023-08-28 15:11:22 +0200 |
commit | 066f6ef16c7adb365b8c260ea6f06906ab63724e (patch) | |
tree | 65ed7c3ebdd1d63f7aad47326cf1689475176753 /tests/lib | |
parent | c2d55ab5f6284313a999c4d71224c0401f04edd4 (diff) | |
download | nextcloud-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 'tests/lib')
-rw-r--r-- | tests/lib/AppFramework/Http/ResponseTest.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/lib/AppFramework/Http/ResponseTest.php b/tests/lib/AppFramework/Http/ResponseTest.php index c1c122e789e..6fb7a0155b4 100644 --- a/tests/lib/AppFramework/Http/ResponseTest.php +++ b/tests/lib/AppFramework/Http/ResponseTest.php @@ -229,7 +229,6 @@ class ResponseTest extends \Test\TestCase { $headers = $this->childResponse->getHeaders(); $this->assertEquals('no-cache, no-store, must-revalidate', $headers['Cache-Control']); - $this->assertFalse(isset($headers['Pragma'])); $this->assertFalse(isset($headers['Expires'])); } @@ -245,7 +244,6 @@ class ResponseTest extends \Test\TestCase { $headers = $this->childResponse->getHeaders(); $this->assertEquals('private, max-age=33, must-revalidate', $headers['Cache-Control']); - $this->assertEquals('private', $headers['Pragma']); $this->assertEquals('Thu, 15 Jan 1970 06:56:40 +0000', $headers['Expires']); } |