summaryrefslogtreecommitdiff
path: root/paste/fileapp.py
diff options
context:
space:
mode:
authorcce <cce@localhost>2005-12-25 03:23:13 +0000
committercce <cce@localhost>2005-12-25 03:23:13 +0000
commit3a5e4e199ad2b9da0a8fedc2aa53e9b2bc9e446a (patch)
treef1df3b1c41047be910ebced6fb6f143222f43e17 /paste/fileapp.py
parent59fc0f9796bce2c2cc02891e04035083bfa1f140 (diff)
downloadpaste-git-3a5e4e199ad2b9da0a8fedc2aa53e9b2bc9e446a.tar.gz
fixed ticket #40 - thanks tsidwick
Diffstat (limited to 'paste/fileapp.py')
-rw-r--r--paste/fileapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/fileapp.py b/paste/fileapp.py
index 61d6259..5b28f02 100644
--- a/paste/fileapp.py
+++ b/paste/fileapp.py
@@ -244,7 +244,7 @@ class DataApp(object):
"If-Modified-Since header is in the future:\r\n"
" %s\r\n") % checkmod
).wsgi_application(environ, start_response)
- elif client_clock <= self.last_modified:
+ elif client_clock >= int(self.last_modified):
# the client has a recent copy
#@@: all entity headers should be removed, not just these
remove_header(headers,'content-length')