summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2017-01-16 23:40:04 -0700
committerBert JW Regeer <bertjw@regeer.org>2017-01-16 23:40:04 -0700
commitd936437719722ba7d987c8542f23804a539aaac5 (patch)
tree75ceefcbcb6484fc059c0ee1b28bfb15ce8f453e
parent8b2d9487a1159f5030103da8eddf32afa8199cb9 (diff)
downloadwebob-bugfix/Response_app_iter.tar.gz
-rw-r--r--CHANGES.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 393cd8d..2105fe8 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,13 @@
Unreleased
----------
+Bugfix
+~~~~~~
+- ``Response.__init__`` would discard ``app_iter`` when a ``Response`` had no
+ body, this would cause issues when ``app_iter`` was an object that was tied
+ to the life-cycle of a web application and had to be properly closed.
+ ``app_iter`` is more advanced API for ``Response`` and thus even if it
+ contains a body and is thus against the HTTP RFC's, we should let the users
+ shoot themselves by returning a body. See
+ https://github.com/Pylons/webob/issues/305