[Zope3-dev] Re: [Zope-dev] let's just get rid of it (was: Last-modified and bobobase_modification_time)

Jim Fulton jim@zope.com
Mon, 08 Jul 2002 08:00:14 -0400


Chris Withers wrote:
> I dunno about anyone else, but I'd _really_ like to see what Adrian is
> suggesting form part of Zope 3.
> 
> It's always bugged me that's Zope's HEAD results are often quite meaningless
> with respect to content-type, last modified, etc. Having an API to return a
> specific HEAD for a specific page would be really cool :-)
> 
> How can we make this happen?

Write, or get someone to write, a proposal.

Perhaps it could leverage:

   http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/DublicCoreMetaDataForContent

Somehow.

Note that a template or method that displays data from a single piece of
content should be able to use the modification time of the content.

Note also that content modification time should be independent of
database modification time. (Although, you can fall back on database
modification time if the application doesn't track an application-meaningful
time.)

Jim

-- 
Jim Fulton           mailto:jim@zope.com       Python Powered!
CTO                  (888) 344-4332            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org