summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2017-05-22 16:23:00 -0700
committerBert JW Regeer <bertjw@regeer.org>2017-05-22 16:23:02 -0700
commita2b08dc1802795a13b983c0d87f5a25ebbb6d118 (patch)
tree143f2dc7635eb153eae736d50bca5a2689827d19
parent79428f323b72eb18180c8d5bf7bd969f69bdb666 (diff)
downloadwebob-a2b08dc1802795a13b983c0d87f5a25ebbb6d118.tar.gz
Don't remove self.content_md5 in Response when setting app_iter
It is up to the user to make sure they recalculate the content_md5 if they change the app_iter after previously having done so. In situations where the user is explicitly using app_iter, they most likely are already aware of content_md5 and have explicitly set it. Closes #86
-rw-r--r--webob/response.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/webob/response.py b/webob/response.py
index bb74383..ceaae27 100644
--- a/webob/response.py
+++ b/webob/response.py
@@ -715,7 +715,6 @@ class Response(object):
if self._app_iter is not None:
# Undo the automatically-set content-length
self.content_length = None
- self.content_md5 = None
self._app_iter = value
def _app_iter__del(self):