[z3-checkins] r51569 - z3/deliverance/trunk/deliverance

ianb at codespeak.net ianb at codespeak.net
Sun Feb 17 23:49:15 CET 2008


Author: ianb
Date: Sun Feb 17 23:49:14 2008
New Revision: 51569

Modified:
   z3/deliverance/trunk/deliverance/wsgimiddleware.py
Log:
typo in setting Cache-Control header

Modified: z3/deliverance/trunk/deliverance/wsgimiddleware.py
==============================================================================
--- z3/deliverance/trunk/deliverance/wsgimiddleware.py	(original)
+++ z3/deliverance/trunk/deliverance/wsgimiddleware.py	Sun Feb 17 23:49:14 2008
@@ -356,7 +356,7 @@
             del fetcher.environ['HTTP_IF_MODIFIED_SINCE']
         if 'HTTP_IF_NONE_MATCH' in fetcher.environ: 
             del fetcher.environ['HTTP_IF_NONE_MATCH'] 
-        fetcher.environ['CACHE-CONTROL'] = 'no-cache'
+        fetcher.environ['HTTP_CACHE_CONTROL'] = 'no-cache'
         
 
         status, headers, body = fetcher.wsgi_get()         


More information about the z3-checkins mailing list