Author: humbedooh
Date: Sun Mar 22 19:24:28 2015
New Revision: 1668453

URL: http://svn.apache.org/r1668453
Log:
work around IE's caching.

Modified:
    steve/trunk/pytest/www/cgi-bin/lib/response.py

Modified: steve/trunk/pytest/www/cgi-bin/lib/response.py
URL: 
http://svn.apache.org/viewvc/steve/trunk/pytest/www/cgi-bin/lib/response.py?rev=1668453&r1=1668452&r2=1668453&view=diff
==============================================================================
--- steve/trunk/pytest/www/cgi-bin/lib/response.py (original)
+++ steve/trunk/pytest/www/cgi-bin/lib/response.py Sun Mar 22 19:24:28 2015
@@ -16,7 +16,7 @@ responseCodes = {
 def respond(code, js):
     c = responseCodes[code] if code in responseCodes else "Unknown Response 
Code(?)"
     out = json.dumps(js, indent=4)
-    print("Status: %u %s\r\nContent-Type: application/json\r\nContent-Length: 
%u\r\n" % (code, c, len(out)))
+    print("Status: %u %s\r\nContent-Type: application/json\r\nCache-Control: 
no-cache\r\nContent-Length: %u\r\n" % (code, c, len(out)))
     print(out)
     
     


Reply via email to