Skip to content

Commit 1b1289c

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent 47eb901 commit 1b1289c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ are given with the most recent entry first.
44
2004-10-?? 0.7.10
55
Fixed:
66
- reset ID counters if the database is cleared (thanks William)
7+
- apply IE caching "fix" to automatically serve up all pages expired
78

89

910
2004-10-26 0.7.9

roundup/cgi/client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.176.2.8 2004-11-21 21:52:34 richard Exp $
1+
# $Id: client.py,v 1.176.2.9 2004-12-03 22:21:31 richard Exp $
22

33
"""WWW request handler (also used in the stand-alone server).
44
"""
@@ -208,7 +208,9 @@ def inner_main(self):
208208
# self.additional_headers['Pragma'] = 'no-cache'
209209

210210
# expire this page 5 seconds from now
211-
date = rfc822.formatdate(time.time() + 5)
211+
# <rj> changed to "fix" IE caching issue - always expire all
212+
# pages
213+
date = rfc822.formatdate(time.time() - 1)
212214
self.additional_headers['Expires'] = date
213215

214216
# render the content

0 commit comments

Comments
 (0)