From 43cf5a2d28f2013456bf320c45f2f058bf00fbd0 Mon Sep 17 00:00:00 2001 From: kedder Date: Fri, 7 Mar 2003 22:46:59 +0000 Subject: [PATCH] even better if-modified-since handling for cgi-bin git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1575 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py index 8d42592..4fbf10a 100644 --- a/roundup/cgi/client.py +++ b/roundup/cgi/client.py @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.102 2003-03-07 21:51:31 richard Exp $ +# $Id: client.py,v 1.103 2003-03-07 22:46:59 kedder Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -442,6 +442,7 @@ class Client: self.write(file.get(nodeid, 'content')) def serve_static_file(self, file): + ims = None # see if there's an if-modified-since... if hasattr(self.request, 'headers'): ims = self.request.headers.getheader('if-modified-since') -- 2.39.5