summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-06-22 00:29:36 -0400
committerChris McDonough <chrism@plope.com>2011-06-22 00:29:36 -0400
commitbf7544c683803c4490e7c82e25e31d36261fb973 (patch)
tree17133bbbeade6a446701d0dad1238106becef9cd
parentfc950d607e942dd6ae755354a8ac0d30040a5848 (diff)
downloadpyramid-bf7544c683803c4490e7c82e25e31d36261fb973.tar.gz
pyramid-bf7544c683803c4490e7c82e25e31d36261fb973.tar.bz2
pyramid-bf7544c683803c4490e7c82e25e31d36261fb973.zip
suggestions from sluggo
-rw-r--r--CHANGES.txt14
-rw-r--r--docs/whatsnew-1.1.rst14
2 files changed, 16 insertions, 12 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 104700cfd..f4cd65b36 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -351,12 +351,14 @@ Behavior Changes
- The JSON and string renderer factories now assign to
``request.response.content_type`` rather than
- ``request.response_content_type``. Each renderer factory determines
- whether it should change the content type of the response by comparing the
- response's content type against the response's default content type; if the
- content type is not the default content type (usually ``text/html``), the
- renderer changes the content type (to ``application/json`` or
- ``text/plain`` for JSON and string renderers respectively).
+ ``request.response_content_type``.
+
+- Each built-in renderer factory now determines whether it should change the
+ content type of the response by comparing the response's content type
+ against the response's default content type; if the content type is the
+ default content type (usually ``text/html``), the renderer changes the
+ content type (to ``application/json`` or ``text/plain`` for JSON and string
+ renderers respectively).
- The ``pyramid.wsgi.wsgiapp2`` now uses a slightly different method of
figuring out how to "fix" ``SCRIPT_NAME`` and ``PATH_INFO`` for the
diff --git a/docs/whatsnew-1.1.rst b/docs/whatsnew-1.1.rst
index 7c2aad821..66f398e27 100644
--- a/docs/whatsnew-1.1.rst
+++ b/docs/whatsnew-1.1.rst
@@ -278,12 +278,14 @@ Deprecations and Behavior Differences
- The JSON and string renderer factories now assign to
``request.response.content_type`` rather than
- ``request.response_content_type``. Each renderer factory determines
- whether it should change the content type of the response by comparing the
- response's content type against the response's default content type; if the
- content type is not the default content type (usually ``text/html``), the
- renderer changes the content type (to ``application/json`` or
- ``text/plain`` for JSON and string renderers respectively).
+ ``request.response_content_type``.
+
+- Each built-in renderer factory now determines whether it should change the
+ content type of the response by comparing the response's content type
+ against the response's default content type; if the content type is the
+ default content type (usually ``text/html``), the renderer changes the
+ content type (to ``application/json`` or ``text/plain`` for JSON and string
+ renderers respectively).
- The :func:`pyramid.wsgi.wsgiapp2` now uses a slightly different method of
figuring out how to "fix" ``SCRIPT_NAME`` and ``PATH_INFO`` for the