mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Refs #30426 -- Changed default SECURE_CONTENT_TYPE_NOSNIFF to True.
This commit is contained in:
parent
8b4a43dda7
commit
0468159763
4 changed files with 13 additions and 2 deletions
|
@ -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',
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue