summaryrefslogtreecommitdiff
path: root/paste/httpheaders.py
diff options
context:
space:
mode:
authorcce <devnull@localhost>2005-12-29 18:29:56 +0000
committercce <devnull@localhost>2005-12-29 18:29:56 +0000
commitcfd5e92779fb1da95a03db2b725dc8fbc701bfcb (patch)
tree27694720c4e8fc8984b48cd5bba1c3739747d931 /paste/httpheaders.py
parentf87a855e602b14e0e84d5baff55b6c68bc59adc6 (diff)
downloadpaste-cfd5e92779fb1da95a03db2b725dc8fbc701bfcb.tar.gz
oops
Diffstat (limited to 'paste/httpheaders.py')
-rw-r--r--paste/httpheaders.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/httpheaders.py b/paste/httpheaders.py
index c65f83a..1c919e0 100644
--- a/paste/httpheaders.py
+++ b/paste/httpheaders.py
@@ -398,7 +398,7 @@ class MultiValueHeader(HTTPHeader):
def format(self, *values):
if not values:
- return []
+ return ''
return ", ".join([str(v).strip() for v in values])
class MultiEntryHeader(HTTPHeader):
@@ -418,7 +418,7 @@ class MultiEntryHeader(HTTPHeader):
def format(self, *values):
if not values:
- return ''
+ return []
return list([str(v).strip() for v in values])
def tuples(self, *args, **kwargs):