diff options
author | bbangert <devnull@localhost> | 2006-01-18 22:26:41 +0000 |
---|---|---|
committer | bbangert <devnull@localhost> | 2006-01-18 22:26:41 +0000 |
commit | 23a2c90408eda5cdc1170e8c94624e8f0c93875f (patch) | |
tree | 82498d508e82fad0247d1a14663b31d17698b8a2 /paste/fileapp.py | |
parent | 47c5d974199a85af11bce55a5d2f1b7933a8ee0d (diff) | |
download | paste-23a2c90408eda5cdc1170e8c94624e8f0c93875f.tar.gz |
Using ETag's for browser-side HTTP 1.1 caching when available for static content. If found, throwing the 304 with the ETag early, before fileapp creation/call, for efficiency.
Diffstat (limited to 'paste/fileapp.py')
-rw-r--r-- | paste/fileapp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/paste/fileapp.py b/paste/fileapp.py index 2fb5ae1..72dbf4e 100644 --- a/paste/fileapp.py +++ b/paste/fileapp.py @@ -85,6 +85,7 @@ class DataApp(object): def __call__(self, environ, start_response): headers = self.headers[:] + ETAG.update(headers, self.last_modified) if self.expires is not None: EXPIRES.update(headers, delta=self.expires) |