summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2007-10-28 18:16:46 +0000
committerRobert Brewer <fumanchu@aminus.org>2007-10-28 18:16:46 +0000
commit38372cd6eceddb86a07dfdd935844b200917e0de (patch)
tree7282e886c4bac784eaf68492543f748979c7d759
parent133d5396519ad15ba394302d966fd5cd23b45f21 (diff)
downloadcherrypy-git-38372cd6eceddb86a07dfdd935844b200917e0de.tar.gz
Trunk fix for #662.
-rw-r--r--cherrypy/lib/caching.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/lib/caching.py b/cherrypy/lib/caching.py
index 894962a5..c49f315b 100644
--- a/cherrypy/lib/caching.py
+++ b/cherrypy/lib/caching.py
@@ -85,7 +85,7 @@ class MemoryCache:
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: