diff options
| author | Claude Paroz <claude@2xlibre.net> | 2019-08-02 17:16:01 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-08-18 13:17:49 +0200 |
| commit | 04681597634a0c803246fe68b3bcb64f81e7305c (patch) | |
| tree | 62cd12dd28ae7880b158c5ad104863d41b4c9013 /tests/project_template | |
| parent | 8b4a43dda702fe72c254388f1be2c0c75b7a3efc (diff) | |
Refs #30426 -- Changed default SECURE_CONTENT_TYPE_NOSNIFF to True.
Diffstat (limited to 'tests/project_template')
| -rw-r--r-- | tests/project_template/test_settings.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/project_template/test_settings.py b/tests/project_template/test_settings.py index 0eaf950951..c76564c656 100644 --- a/tests/project_template/test_settings.py +++ b/tests/project_template/test_settings.py @@ -38,5 +38,6 @@ class TestStartProjectSettings(SimpleTestCase): self.assertEqual(headers, [ b'Content-Length: 0', b'Content-Type: text/html; charset=utf-8', + b'X-Content-Type-Options: nosniff', b'X-Frame-Options: SAMEORIGIN', ]) |
