diff options
author | cce <devnull@localhost> | 2005-12-25 03:23:13 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2005-12-25 03:23:13 +0000 |
commit | b9e0615895518bf4a4561563950863171fc71885 (patch) | |
tree | f1df3b1c41047be910ebced6fb6f143222f43e17 /paste/fileapp.py | |
parent | 87602d7ecf18bc5e38e1b5062d44b38af256bb69 (diff) | |
download | paste-b9e0615895518bf4a4561563950863171fc71885.tar.gz |
fixed ticket #40 - thanks tsidwick
Diffstat (limited to 'paste/fileapp.py')
-rw-r--r-- | paste/fileapp.py | 2 |
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') |