diff options
| author | Michael Merickel <michael@merickel.org> | 2018-01-09 13:24:53 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-01-09 13:26:59 -0600 |
| commit | 05208c47f0290dbb1ed7f027a147b0ee5712c841 (patch) | |
| tree | e9bc2d80254249e3498362227007cf74c1f706bd /tests | |
| parent | 3fa9632225ae4321178a21935669a2cda2610c18 (diff) | |
| download | webob-immutable-cache-control.tar.gz | |
add support for immutable cache-control response headerimmutable-cache-control
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_cachecontrol.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_cachecontrol.py b/tests/test_cachecontrol.py index 04ddaa6..ce299d9 100644 --- a/tests/test_cachecontrol.py +++ b/tests/test_cachecontrol.py @@ -227,10 +227,11 @@ class TestCacheControl(object): def test_parse(self): from webob.cachecontrol import CacheControl - cc = CacheControl.parse("public, max-age=315360000") + cc = CacheControl.parse("public, max-age=315360000, immutable") assert type(cc) == CacheControl assert cc.max_age == 315360000 assert cc.public is True + assert cc.immutable is True def test_parse_updates_to(self): from webob.cachecontrol import CacheControl |
