summaryrefslogtreecommitdiff
path: root/paste/wsgilib.py
diff options
context:
space:
mode:
authorasaddi <devnull@localhost>2006-12-14 21:48:12 +0000
committerasaddi <devnull@localhost>2006-12-14 21:48:12 +0000
commit165668aae8890fba08a5b40a83a814e4c74bf659 (patch)
treec74afd5b82bf93a023dd7334809186e072cd33ec /paste/wsgilib.py
parent885cc4d8918a34c6da823c334ecae0ee67e6d054 (diff)
downloadpaste-165668aae8890fba08a5b40a83a814e4c74bf659.tar.gz
Header values sent by dump_environ should be strings.
Diffstat (limited to 'paste/wsgilib.py')
-rw-r--r--paste/wsgilib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/wsgilib.py b/paste/wsgilib.py
index 4de2bc4..234f7cc 100644
--- a/paste/wsgilib.py
+++ b/paste/wsgilib.py
@@ -415,7 +415,7 @@ def dump_environ(environ, start_response):
output.append("\n")
output = "".join(output)
headers = [('Content-Type', 'text/plain'),
- ('Content-Length', len(output))]
+ ('Content-Length', str(len(output)))]
start_response("200 OK", headers)
return [output]