diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-01-09 21:29:59 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-01-09 21:29:59 +0100 |
commit | fe6416072d417b6ef166695008d9f94f07775dc9 (patch) | |
tree | ec8df2472f2a51db19e1028babac4cdde857b5d0 /tests | |
parent | 9a5b9d8555c89293073af17f8a2c1ebf3c64de8d (diff) | |
download | nextcloud-server-fe6416072d417b6ef166695008d9f94f07775dc9.tar.gz nextcloud-server-fe6416072d417b6ef166695008d9f94f07775dc9.zip |
set 'no-store' cache header if we do not want FF to cache
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/AppFramework/Http/ResponseTest.php | 2 |
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']); } |