Changeset 3303 in products


Ignore:
Timestamp:
Oct 24, 2011 2:46:49 PM (12 years ago)
Author:
fenix
Message:

reverting bad commit http://dev.plone.org/changeset/81782/collective/Products.CacheSetup/trunk/Products/CacheSetup/content/header_set.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Products.CacheSetup/trunk/Products/CacheSetup/content/header_set.py

    r3296 r3303  
    407407        vary = self.getVaryValue(expr_context) 
    408408        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)) 
    414410 
    415411        # a list of cache-control tokens 
Note: See TracChangeset for help on using the changeset viewer.