summaryrefslogtreecommitdiff
path: root/paste/httpheaders.py
diff options
context:
space:
mode:
authorcce <devnull@localhost>2005-12-30 05:06:06 +0000
committercce <devnull@localhost>2005-12-30 05:06:06 +0000
commit5767eef24125f3c71425fa3b859ddd472ad1280c (patch)
tree72bd3e80414c1bf29e047dd0f898fca9fc62b5be /paste/httpheaders.py
parent75ee34280c80d6eacc23dc31769f4933bdcb3823 (diff)
downloadpaste-5767eef24125f3c71425fa3b859ddd472ad1280c.tar.gz
Diffstat (limited to 'paste/httpheaders.py')
-rw-r--r--paste/httpheaders.py3
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):