Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-130

Improvements associated with modifications times.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.x
    • 3.3.1
    • core
    • None

    Description

      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

      Attachments

        Activity

          People

            grahamd Graham Phillip Dumpleton
            grahamd Graham Phillip Dumpleton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: