changeset 43:0aa08d20fc7d

unused
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 28 Dec 2013 13:24:44 -0800
parents 871c040668c0
children 158b469a10e9
files bitsyauth/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyauth/__init__.py	Sat Dec 28 13:10:56 2013 -0800
+++ b/bitsyauth/__init__.py	Sat Dec 28 13:24:44 2013 -0800
@@ -367,9 +367,9 @@
         for key in keys:
             req.environ.pop(key, None)
 
+        # return response
         body = '<html><head><title>logout</title></head><body>logout</body></html>'
         res = Response(content_type='text/html', body=body)
-        res.content_length = len(res.body)
         req.cookies.pop(self.cookie, None)
         res.delete_cookie(self.cookie)
         res.unset_cookie(self.cookie)