Changeset 3303 in products
- Timestamp:
- Oct 24, 2011 2:46:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Products.CacheSetup/trunk/Products/CacheSetup/content/header_set.py
r3296 r3303 407 407 vary = self.getVaryValue(expr_context) 408 408 if vary: 409 if pcs.getGzip() in ('accept-encoding', 'accept-encoding+user-agent'): 410 # Zope adds Accept-Encoding automatically 411 vary = ', '.join([v.strip() for v in vary.split(',') if v.strip() != 'Accept-Encoding']) 412 if vary: 413 headers_to_add.append(('Vary', vary)) 409 headers_to_add.append(('Vary', vary)) 414 410 415 411 # a list of cache-control tokens
Note: See TracChangeset
for help on using the changeset viewer.