diff options
| author | Chris McDonough <chrism@plope.com> | 2012-11-02 22:00:35 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-11-02 22:00:35 -0400 |
| commit | a007a4f5a7a6c81ef9bb15f4ccea35212bc020c0 (patch) | |
| tree | 696b1a8a0003b176080c359d94aced0386966504 /CHANGES.txt | |
| parent | f156e1fdffb95cef721848a5a20cd7ec02157f0f (diff) | |
| download | pyramid-a007a4f5a7a6c81ef9bb15f4ccea35212bc020c0.tar.gz pyramid-a007a4f5a7a6c81ef9bb15f4ccea35212bc020c0.tar.bz2 pyramid-a007a4f5a7a6c81ef9bb15f4ccea35212bc020c0.zip | |
- In the past if a renderer returned ``None``, the body of the resulting
response would be set explicitly to the empty string. Instead, now, the body
is left unchanged, which allows the renderer to set a body itself by using
e.g. ``request.response.body = b'foo'``. The body set by the renderer will
be unmolested on the way out. See
https://github.com/Pylons/pyramid/issues/709
Closes #709
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 563851e74..0ef1a0593 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -21,6 +21,16 @@ Features it doesn't make sense to assert that a nonexistent view is execution-permitted. See https://github.com/Pylons/pyramid/issues/299. +Bug Fixes +--------- + +- In the past if a renderer returned ``None``, the body of the resulting + response would be set explicitly to the empty string. Instead, now, the body + is left unchanged, which allows the renderer to set a body itself by using + e.g. ``request.response.body = b'foo'``. The body set by the renderer will + be unmolested on the way out. See + https://github.com/Pylons/pyramid/issues/709 + 1.4a3 (2012-10-26) ================== |
