diff options
author | cce <devnull@localhost> | 2005-12-30 05:06:06 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2005-12-30 05:06:06 +0000 |
commit | 5767eef24125f3c71425fa3b859ddd472ad1280c (patch) | |
tree | 72bd3e80414c1bf29e047dd0f898fca9fc62b5be /paste/httpheaders.py | |
parent | 75ee34280c80d6eacc23dc31769f4933bdcb3823 (diff) | |
download | paste-5767eef24125f3c71425fa3b859ddd472ad1280c.tar.gz |
Diffstat (limited to 'paste/httpheaders.py')
-rw-r--r-- | paste/httpheaders.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paste/httpheaders.py b/paste/httpheaders.py index f794c0a..e65a1f5 100644 --- a/paste/httpheaders.py +++ b/paste/httpheaders.py @@ -400,7 +400,6 @@ class HTTPHeader(object): i += 1 if not found: collection.append((self.name, value)) - return value def tuples(self, *args, **kwargs): value = self.__call__(*args, **kwargs) @@ -654,6 +653,7 @@ class _CacheControl(_MultiValueHeader): EXPIRES.update(collection, delta=expires) self.update(collection, *result) return expires + _CacheControl('Cache-Control','general') class _ContentType(_SingleValueHeader): @@ -758,6 +758,7 @@ class _ContentDisposition(_SingleValueHeader): CONTENT_TYPE.update(collection, mimetype) self.update(collection, *result) return mimetype + _ContentDisposition('Content-Disposition','entity') class _IfModifiedSince(_DateHeader): |