diff options
author | pjenvey <devnull@localhost> | 2007-06-12 23:26:37 +0000 |
---|---|---|
committer | pjenvey <devnull@localhost> | 2007-06-12 23:26:37 +0000 |
commit | d47074a63528d1885de8f4e1363687b15f050031 (patch) | |
tree | 5f4d559f38e8cec0966c589edaa67c51a9cbddb7 /paste/urlparser.py | |
parent | 3e8c42b824ed0d0f021dc650c4072a037995bd8e (diff) | |
download | paste-d47074a63528d1885de8f4e1363687b15f050031.tar.gz |
fix docs referring to cache_max_age as max_cache_age
Thanks Mike Orr
Diffstat (limited to 'paste/urlparser.py')
-rw-r--r-- | paste/urlparser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/urlparser.py b/paste/urlparser.py index d37a234..3563fa8 100644 --- a/paste/urlparser.py +++ b/paste/urlparser.py @@ -423,7 +423,7 @@ class StaticURLParser(object): """ Like ``URLParser`` but only serves static files. - ``max_cache_age``: + ``cache_max_age``: integer specifies Cache-Control max_age in seconds """ # @@: Should URLParser subclass from this? @@ -523,7 +523,7 @@ def make_static(global_conf, document_root, cache_max_age=None): Return a WSGI application that serves a directory (configured with document_root) - max_cache_age - integer specifies CACHE_CONTROL max_age in seconds + cache_max_age - integer specifies CACHE_CONTROL max_age in seconds """ if cache_max_age is not None: cache_max_age = int(cache_max_age) |