diff options
author | asaddi <devnull@localhost> | 2006-12-14 21:48:12 +0000 |
---|---|---|
committer | asaddi <devnull@localhost> | 2006-12-14 21:48:12 +0000 |
commit | 165668aae8890fba08a5b40a83a814e4c74bf659 (patch) | |
tree | c74afd5b82bf93a023dd7334809186e072cd33ec /paste/wsgilib.py | |
parent | 885cc4d8918a34c6da823c334ecae0ee67e6d054 (diff) | |
download | paste-165668aae8890fba08a5b40a83a814e4c74bf659.tar.gz |
Header values sent by dump_environ should be strings.
Diffstat (limited to 'paste/wsgilib.py')
-rw-r--r-- | paste/wsgilib.py | 2 |
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] |