new Storage object makes some code 10x faster
This commit is contained in:
+1
-1
@@ -166,7 +166,7 @@ class Response(Storage):
|
||||
|
||||
def __init__(self):
|
||||
self.status = 200
|
||||
self.headers = Storage()
|
||||
self.headers = dict()
|
||||
self.headers['X-Powered-By'] = 'web2py'
|
||||
self.body = cStringIO.StringIO()
|
||||
self.session_id = None
|
||||
|
||||
Reference in New Issue
Block a user