[Zope-dev] Last-modified and bobobase_modification_time

Wei He hewei@mail.ied.ac.cn
Fri, 14 Jun 2002 12:10:35 +0800 (CST)


Hi all,

Say you have 1_html with only one line:
<dtml-var 2_html>

When you HEAD http://xxx/1_html, you get Last-Modified refelecting only 
the last modification time of 1_html, while most people is expecting it 
to be newer one of 1_html and 2_html. 

Does anyone know of a walk-around like using the max() of 
bobobase_modification_time().timeTime() on the document itself
and all the componets it dtml-vared?

Forgive my using of non-Zope terms, for I'm new to Zope/Python.

Wei He