File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- # $Id: client.py,v 1.111 2003-03-26 06:46:17 richard Exp $
1+ # $Id: client.py,v 1.112 2003-04-10 04:32:46 richard Exp $
22
33__doc__ = """
44WWW request handler (also used in the stand-alone server).
@@ -224,11 +224,12 @@ def inner_main(self):
224224 # possibly handle a form submit action (may change self.classname
225225 # and self.template, and may also append error/ok_messages)
226226 self .handle_action ()
227- # now render the page
228227
228+ # now render the page
229229 # we don't want clients caching our dynamic pages
230230 self .additional_headers ['Cache-Control' ] = 'no-cache'
231- self .additional_headers ['Pragma' ] = 'no-cache'
231+ # Pragma: no-cache makes Mozilla and its ilk double-load all pages!!
232+ # self.additional_headers['Pragma'] = 'no-cache'
232233
233234 # expire this page 5 seconds from now
234235 date = rfc822 .formatdate (time .time () + 5 )
You can’t perform that action at this time.
0 commit comments