From c4c9a80880813c7491abc86ad8638040c015b8d2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 21 Dec 2009 21:52:51 +0000 Subject: - The ``json`` renderer failed to set the response content type to ``application/json``. It now does, by setting ``request.response_content_type`` unless this attribute is already set. - The ``string`` renderer failed to set the response content type to ``text/plain``. It now does, by setting ``request.response_content_type`` unless this attribute is already set. --- CHANGES.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 00f73fb4b..62fa20e4b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -6,6 +6,19 @@ Features - Add a ``**kw`` arg to the ``Configurator.add_settings`` API. +Bug Fixes +--------- + +- The ``json`` renderer failed to set the response content type to + ``application/json``. It now does, by setting + ``request.response_content_type`` unless this attribute is already + set. + +- The ``string`` renderer failed to set the response content type to + ``text/plain``. It now does, by setting + ``request.response_content_type`` unless this attribute is already + set. + 1.2a7 (2009-12-20) ================== -- cgit v1.2.3