]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/mgr/dashboard/test_requests.py
import ceph 15.2.10
[ceph.git] / ceph / qa / tasks / mgr / dashboard / test_requests.py
index 0d9f8d9ba83697042c63c18f4b0c1bbc30bd8b0f..eba81d673af2c99301225d963a4266c70d78ad47 100644 (file)
@@ -20,4 +20,8 @@ class RequestsTest(DashboardTestCase):
         self.assertNotIn('Content-Encoding', self._resp.headers)
         self.assertHeaders({
             'Content-Type': 'application/json',
+            'server': 'Ceph-Dashboard',
+            'Content-Security-Policy': "frame-ancestors 'self';",
+            'X-Content-Type-Options': 'nosniff',
+            'Strict-Transport-Security': 'max-age=63072000; includeSubDomains; preload'
         })