1. cherrypy
  2. CherryPy

Commits

Robert Brewer  committed 866bed9

Trunk fix for #662.

  • Participants
  • Parent commits 6502e2b
  • Branches default

Comments (0)

Files changed (1)

File cherrypy/lib/caching.py

View file
  • Ignore whitespace
         self.cache.pop(self.key())
 
 
-def get(invalid_methods=("POST", "PUT", "DELETE")):
+def get(invalid_methods=("POST", "PUT", "DELETE"), **kwargs):
     """Try to obtain cached output. If fresh enough, raise HTTPError(304).
     
     If POST, PUT, or DELETE: