summaryrefslogtreecommitdiff
path: root/paste
diff options
context:
space:
mode:
Diffstat (limited to 'paste')
-rw-r--r--paste/wsgiwrappers.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/paste/wsgiwrappers.py b/paste/wsgiwrappers.py
index e209359..e27fd18 100644
--- a/paste/wsgiwrappers.py
+++ b/paste/wsgiwrappers.py
@@ -106,7 +106,10 @@ class WSGIRequest(object):
self.environ = environ
# This isn't "state" really, since the object is derivative:
self.headers = EnvironHeaders(environ)
-
+
+ # Default caching of requests using Response to not cache
+ self.headers['Cache-Control'] = 'no-cache'
+
defaults = self.defaults._current_obj()
self.charset = defaults.get('charset')
if self.charset: