summaryrefslogtreecommitdiff
path: root/paste/auth
diff options
context:
space:
mode:
Diffstat (limited to 'paste/auth')
-rw-r--r--paste/auth/form.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/auth/form.py b/paste/auth/form.py
index dd4a06e..f376cdd 100644
--- a/paste/auth/form.py
+++ b/paste/auth/form.py
@@ -113,8 +113,8 @@ class AuthFormHandler:
return self.application(environ, start_response)
content = self.template % construct_url(environ)
- start_response("200 OK", (('Content-Type', 'text/html'),
- ('Content-Length', len(content))))
+ start_response("200 OK", [('Content-Type', 'text/html'),
+ ('Content-Length', str(len(content)))])
return [content]
middleware = AuthFormHandler