[CMF-checkins] CVS: CMF/CMFCore/interfaces - CachingPolicyManager.py:1.1.2.2

Tres Seaver tseaver@zope.com
Wed, 20 Feb 2002 11:35:01 -0500


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv28591/interfaces

Modified Files:
      Tag: tseaver-caching_tool-branch
	CachingPolicyManager.py 
Log Message:


  - Integrate with FSPageTemplate.

  - Fix interface, and test conformance.


=== CMF/CMFCore/interfaces/CachingPolicyManager.py 1.1.2.1 => 1.1.2.2 ===
         Manage HTTP cache policies for skin methods.
     """
-    id = Attribute( 'id', 'Must be set to "CachingPolicyManager"' )
+    id = Attribute( 'id', 'Must be set to "caching_policy_manager"' )
 
-    def setHTTPCacheHeaders( REQUEST, content, view_method, keywords ):
+    def getHTTPCachingHeaders( content, view_method, keywords ):
         """
             Update HTTP caching headers in REQUEST based on 'content',
             'view_method', and 'keywords'.