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,
|
request=None,
|
||||||
attachment=False,
|
attachment=False,
|
||||||
filename=None,
|
filename=None,
|
||||||
headers=None
|
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
if a controller function::
|
if a controller function::
|
||||||
@@ -299,7 +298,7 @@ class Response(Storage):
|
|||||||
default to the last request argument otherwise)
|
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
|
# for attachment settings and backward compatibility
|
||||||
keys = [item.lower() for item in headers]
|
keys = [item.lower() for item in headers]
|
||||||
if attachment:
|
if attachment:
|
||||||
|
|||||||
Reference in New Issue
Block a user