From 2c509a7bc48d8742ec9ed12b68f85ede65d3ff62 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Tue, 11 Sep 2012 14:02:55 -0500 Subject: [PATCH] removed headers from response.stream --- VERSION | 2 +- gluon/globals.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index c6d062b9..228b57df 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.8 (2012-09-11 13:37:13) stable +Version 2.0.8 (2012-09-11 14:02:50) stable diff --git a/gluon/globals.py b/gluon/globals.py index 56a3d437..66051be3 100644 --- a/gluon/globals.py +++ b/gluon/globals.py @@ -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: