Issue Details (XML | Word | Printable)

Key: MODPYTHON-130
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Graham Dumpleton
Reporter: Graham Dumpleton
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

Improvements associated with modifications times.

Created: 13/Feb/06 02:14 PM   Updated: 11/Apr/07 11:24 AM
Return to search
Component/s: core
Affects Version/s: 3.3.x
Fix Version/s: 3.3.1

Time Tracking:
Not Specified

Resolution Date: 19/Mar/06 03:12 PM


 Description  « Hide
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-dev@httpd.apache.org/msg01212.html

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Graham Dumpleton made changes - 19/Mar/06 12:56 PM
Field Original Value New Value
Assignee Graham Dumpleton [ grahamd ]
Graham Dumpleton made changes - 19/Mar/06 12:57 PM
Status Open [ 1 ] In Progress [ 3 ]
Graham Dumpleton made changes - 19/Mar/06 03:12 PM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Fix Version/s 3.3 [ 12310101 ]
Graham Dumpleton made changes - 11/Apr/07 11:24 AM
Status Resolved [ 5 ] Closed [ 6 ]