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

Improvements associated with modifications times.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.x
    • Fix Version/s: 3.3.1
    • Component/s: core
    • Labels:
      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

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            grahamd Graham Dumpleton
            Reporter:
            grahamd Graham Dumpleton
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development