diff options
| author | cce <cce@localhost> | 2005-12-25 03:23:13 +0000 |
|---|---|---|
| committer | cce <cce@localhost> | 2005-12-25 03:23:13 +0000 |
| commit | 3a5e4e199ad2b9da0a8fedc2aa53e9b2bc9e446a (patch) | |
| tree | f1df3b1c41047be910ebced6fb6f143222f43e17 /paste/fileapp.py | |
| parent | 59fc0f9796bce2c2cc02891e04035083bfa1f140 (diff) | |
| download | paste-git-3a5e4e199ad2b9da0a8fedc2aa53e9b2bc9e446a.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') |
