removed headers from response.stream

This commit is contained in:
mdipierro
2012-09-11 14:02:55 -05:00
parent cc3a8fc3a2
commit 2c509a7bc4
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -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: