mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #31840 -- Added support for Cross-Origin Opener Policy header.
Thanks Adam Johnson and Tim Graham for the reviews. Co-authored-by: Tim Graham <timograham@gmail.com>
This commit is contained in:
@@ -38,6 +38,7 @@ class TestStartProjectSettings(SimpleTestCase):
|
||||
self.assertEqual(headers, [
|
||||
b'Content-Length: 0',
|
||||
b'Content-Type: text/html; charset=utf-8',
|
||||
b'Cross-Origin-Opener-Policy: same-origin',
|
||||
b'Referrer-Policy: same-origin',
|
||||
b'X-Content-Type-Options: nosniff',
|
||||
b'X-Frame-Options: DENY',
|
||||
|
||||
Reference in New Issue
Block a user