Commits

Anonymous committed 963340a

cachefilter tweak.

  • Participants
  • Parent commits 1ce4dbf
  • Branches cherrypy-2.x

Comments (0)

Files changed (1)

cherrypy/filters/cachefilter.py

                 # serve it & get out from the request
                 response = cherrypy.response
                 response.status, response.headers, response.body = s, h, b
-            response.headers['Age'] = str(int(time.time() - create_time))
+            response.headers['Age'] = str(int(response.time - create_time))
             request.execute_main = False
         else:
             request.cacheable = True