aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Http/ResponseTest.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-01-10 14:07:13 +0100
committerGitHub <noreply@github.com>2017-01-10 14:07:13 +0100
commitaee11009bd8c594adb16fb40f890b231d0ecc2ad (patch)
tree99f01ac763c5c9e8768486036f35db9301d5f884 /tests/lib/AppFramework/Http/ResponseTest.php
parent4dd2a1e6798b9915e20ac72272fbe1bab0266e93 (diff)
parent45c6301772721258c765f76a342958c190e9598e (diff)
downloadnextcloud-server-aee11009bd8c594adb16fb40f890b231d0ecc2ad.tar.gz
nextcloud-server-aee11009bd8c594adb16fb40f890b231d0ecc2ad.zip
Merge pull request #3000 from nextcloud/cache-no-store
set 'no-store' cache header if we do not want FF to cache
Diffstat (limited to 'tests/lib/AppFramework/Http/ResponseTest.php')
-rw-r--r--tests/lib/AppFramework/Http/ResponseTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Http/ResponseTest.php b/tests/lib/AppFramework/Http/ResponseTest.php
index 0c582f8f6ea..3ed946dc6ca 100644
--- a/tests/lib/AppFramework/Http/ResponseTest.php
+++ b/tests/lib/AppFramework/Http/ResponseTest.php
@@ -97,7 +97,7 @@ class ResponseTest extends \Test\TestCase {
public function testCacheHeadersAreDisabledByDefault(){
$headers = $this->childResponse->getHeaders();
- $this->assertEquals('no-cache, must-revalidate', $headers['Cache-Control']);
+ $this->assertEquals('no-cache, no-store, must-revalidate', $headers['Cache-Control']);
}