| Graham Dumpleton (JIRA) 2006-02-13, 2:47 am |
| Improvements associated with modifications times.
-------------------------------------------------
Key: MODPYTHON-130
URL: http://issues.apache.org/jira/browse/MODPYTHON-130
Project: mod_python
Type: Improvement
Components: core
Versions: 3.3
Reporter: Graham Dumpleton
In order to be able to more easily maintain last modified response header and ETag, should expose:
ap_set_etag()
ap_update_mtime()
ap_set_last_modified()
through the request object. Ie.,
req.set_etag()
req.update_mtime()
req.set_last_modified()
Direct assignment to mtime wouldn't be allowed and req.update_mtime() perfered as it will only update mtime if replacement value is newer. See mailing list for brief discussion on this:
http://www.mail-archive.com/python-...g/msg01212.html
|