summaryrefslogtreecommitdiff
path: root/src/webob/cachecontrol.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-01-09 13:24:53 -0600
committerMichael Merickel <michael@merickel.org>2018-01-09 13:26:59 -0600
commit05208c47f0290dbb1ed7f027a147b0ee5712c841 (patch)
treee9bc2d80254249e3498362227007cf74c1f706bd /src/webob/cachecontrol.py
parent3fa9632225ae4321178a21935669a2cda2610c18 (diff)
downloadwebob-immutable-cache-control.tar.gz
add support for immutable cache-control response headerimmutable-cache-control
Diffstat (limited to 'src/webob/cachecontrol.py')
-rw-r--r--src/webob/cachecontrol.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webob/cachecontrol.py b/src/webob/cachecontrol.py
index 9176ec9..45df7ba 100644
--- a/src/webob/cachecontrol.py
+++ b/src/webob/cachecontrol.py
@@ -205,6 +205,7 @@ class CacheControl(object):
stale_while_revalidate = value_property(
'stale-while-revalidate', type='response')
stale_if_error = value_property('stale-if-error', type='response')
+ immutable = exists_property('immutable', type='response')
def __str__(self):
return serialize_cache_control(self.properties)