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 /tests/lib/AppFramework | |
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 'tests/lib/AppFramework')
-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']); } |