From 2d1cf7d25adc8cd6ce6a05dfccf00aac1ad18788 Mon Sep 17 00:00:00 2001 From: maluke Date: Wed, 1 Jul 2009 15:25:02 +0000 Subject: Paste: fix Ticket #299 --- paste/urlparser.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'paste/urlparser.py') diff --git a/paste/urlparser.py b/paste/urlparser.py index 9dd0121..f72355a 100644 --- a/paste/urlparser.py +++ b/paste/urlparser.py @@ -464,6 +464,8 @@ class StaticURLParser(object): mytime = os.stat(full).st_mtime if str(mytime) == if_none_match: headers = [] + ## FIXME: probably should be + ## ETAG.update(headers, '"%s"' % mytime) ETAG.update(headers, mytime) start_response('304 Not Modified', headers) return [''] # empty body -- cgit v1.2.1