summaryrefslogtreecommitdiff
path: root/paste/urlparser.py
diff options
context:
space:
mode:
authormaluke <devnull@localhost>2009-07-01 15:25:02 +0000
committermaluke <devnull@localhost>2009-07-01 15:25:02 +0000
commit2d1cf7d25adc8cd6ce6a05dfccf00aac1ad18788 (patch)
tree19526289e235721e85f84f6bf695661241b85b95 /paste/urlparser.py
parent353e380bca264efa42792832b64d09f43dfa2fb2 (diff)
downloadpaste-2d1cf7d25adc8cd6ce6a05dfccf00aac1ad18788.tar.gz
Paste: fix Ticket #299
Diffstat (limited to 'paste/urlparser.py')
-rw-r--r--paste/urlparser.py2
1 files changed, 2 insertions, 0 deletions
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