summaryrefslogtreecommitdiff
path: root/paste/fileapp.py
diff options
context:
space:
mode:
authorcce <devnull@localhost>2005-12-25 03:23:13 +0000
committercce <devnull@localhost>2005-12-25 03:23:13 +0000
commitb9e0615895518bf4a4561563950863171fc71885 (patch)
treef1df3b1c41047be910ebced6fb6f143222f43e17 /paste/fileapp.py
parent87602d7ecf18bc5e38e1b5062d44b38af256bb69 (diff)
downloadpaste-b9e0615895518bf4a4561563950863171fc71885.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')