diff options
author | ianb <devnull@localhost> | 2006-11-02 17:35:04 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-11-02 17:35:04 +0000 |
commit | 0bccb82337e0707a7e629564fed8941c3d69bbe3 (patch) | |
tree | 62c85b831872109a133c3e718db3364f08203439 /paste/auth | |
parent | b583dfebd0bec7afb1d999e32e365ca3d1a76c50 (diff) | |
download | paste-0bccb82337e0707a7e629564fed8941c3d69bbe3.tar.gz |
Fixed #133 from cookedm: paste.auth.form doesn't return valid headers
Diffstat (limited to 'paste/auth')
-rw-r--r-- | paste/auth/form.py | 4 |
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 |