[Zope-CMF] Re: CachingPolicyManager improvements

2005-09-02 Thread Geoff Davis
On Fri, 02 Sep 2005 23:08:37 +0100, Jens Vagelpohl wrote: > IMHO there is at least one problematic item (well, it's not for the > trunk, but for the 1.5/1.4 branches), which is the dependency on > ZopeTestCase. The way the code works right now you immediately > prevent any tests from running

[Zope-CMF] Re: CachingPolicyManager improvements

2005-09-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: >> I have written unit tests for all the new functionality including what I >> believe to be the first CMFCore test suite to use ZopeTestCase. >> ZopeTestCase provides a lot of useful functionality, including >> functional tests

Re: [Zope-CMF] CachingPolicyManager improvements

2005-09-02 Thread Jens Vagelpohl
I have written unit tests for all the new functionality including what I believe to be the first CMFCore test suite to use ZopeTestCase. ZopeTestCase provides a lot of useful functionality, including functional tests, that I think will make for easier test writing going forward. Is there anyt

Re: [Zope-CMF] CachingPolicyManager improvements

2005-09-02 Thread Sidnei da Silva
On Fri, Sep 02, 2005 at 04:31:26PM -0400, Geoff Davis wrote: | Hi all-- | | I have added some useful new functionality to CMFCore's | CachingPolicyManager: I am interested in all of this, and volunteer to backport it to CMF 1.4 if no-one objects me doing so. -- Sidnei da Silva Enfold Systems,

[Zope-CMF] CachingPolicyManager improvements

2005-09-02 Thread Geoff Davis
Hi all-- I have added some useful new functionality to CMFCore's CachingPolicyManager: 1) Caching policies can now control all the Cache-Control tokens defined in the HTTP 1.1 spec (s-maxage, public, private, no-transform). To implement this, I have added some extra keyword arguments to the API;