removed headers from response.stream
This commit is contained in:
1 parent
cc3a8fc3a2
commit
2c509a7bc4
2 files changed
+2
-3
No files matched your search
@@ -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