mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #31789 -- Added a new headers interface to HttpResponse.
This commit is contained in:
committed by
Mariusz Felisiak
parent
71ae1ab012
commit
bcc2befd0e
@@ -993,7 +993,7 @@ class LogoutTest(AuthViewsTestCase):
|
||||
in #25490.
|
||||
"""
|
||||
response = self.client.get('/logout/')
|
||||
self.assertIn('no-store', response['Cache-Control'])
|
||||
self.assertIn('no-store', response.headers['Cache-Control'])
|
||||
|
||||
def test_logout_with_overridden_redirect_url(self):
|
||||
# Bug 11223
|
||||
|
||||
Reference in New Issue
Block a user