mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #6727 -- Made patch_cache_control() patch an empty Cache-Control header.
This commit is contained in:
parent
1155843a41
commit
1f29164ced
2 changed files with 2 additions and 1 deletions
1
tests/cache/tests.py
vendored
1
tests/cache/tests.py
vendored
|
@ -1456,6 +1456,7 @@ class CacheUtils(SimpleTestCase):
|
|||
tests = (
|
||||
# Initial Cache-Control, kwargs to patch_cache_control, expected Cache-Control parts
|
||||
(None, {'private': True}, {'private'}),
|
||||
('', {'private': True}, {'private'}),
|
||||
|
||||
# Test whether private/public attributes are mutually exclusive
|
||||
('private', {'private': True}, {'private'}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue