Apache Mod-Python - Created: (MODPYTHON-130) Improvements associated with

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > February 2006 > Created: (MODPYTHON-130) Improvements associated with





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Created: (MODPYTHON-130) Improvements associated with
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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com