diff options
author | cce <devnull@localhost> | 2005-12-23 01:23:52 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2005-12-23 01:23:52 +0000 |
commit | 5ffb1dc28cfeeb5e580168c014fee9f239da3273 (patch) | |
tree | 09a7a95ed3eca0b35cd1da38f64dbf71740efc9c /paste/httpexceptions.py | |
parent | 9b44a755fa49a5e4bee3a6bbc1e09edb9a1609af (diff) | |
download | paste-5ffb1dc28cfeeb5e580168c014fee9f239da3273.tar.gz |
- made __call__ for an HTTPException be the same as wsgi_application
- added if-modified-since logic to fileapp.py
- added helper to mark file/data as cached in fileapp.py
- added starter regression test for fileapp.py
note: if-modified-since is still slighly broken due to timezone issues
(it isn't consistenly keeping gmtime and localtime)
Diffstat (limited to 'paste/httpexceptions.py')
-rw-r--r-- | paste/httpexceptions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/paste/httpexceptions.py b/paste/httpexceptions.py index 5ee0cb0..33507a9 100644 --- a/paste/httpexceptions.py +++ b/paste/httpexceptions.py @@ -226,6 +226,7 @@ class HTTPException(Exception): exc_info) return [content] + __call__ = wsgi_application def __repr__(self): return '<%s %s; code=%s>' % (self.__class__.__name__, |