removed headers from response.stream
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.0.8 (2012-09-11 13:37:13) stable
|
||||
Version 2.0.8 (2012-09-11 14:02:50) stable
|
||||
|
||||
+1
-2
@@ -279,7 +279,6 @@ class Response(Storage):
|
||||
request=None,
|
||||
attachment=False,
|
||||
filename=None,
|
||||
headers=None
|
||||
):
|
||||
"""
|
||||
if a controller function::
|
||||
@@ -299,7 +298,7 @@ class Response(Storage):
|
||||
default to the last request argument otherwise)
|
||||
"""
|
||||
|
||||
headers = headers if headers is not None else self.headers
|
||||
headers = self.headers
|
||||
# for attachment settings and backward compatibility
|
||||
keys = [item.lower() for item in headers]
|
||||
if attachment:
|
||||
|
||||
Reference in New Issue
Block a user