summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorMichael Merickel <mmerickel@users.noreply.github.com>2016-04-14 12:08:02 -0500
committerMichael Merickel <mmerickel@users.noreply.github.com>2016-04-14 12:08:02 -0500
commit4bb2095ae761474e072e190641c3645df971a2f5 (patch)
tree7663f087713be5487846663a0b64e086f60f8de3 /CHANGES.txt
parent88637857ca84eb74fd318ad1bf8c4464e50ae662 (diff)
parentaac7a47497ad4a4cd1c5f0ca0d19bd1de460a281 (diff)
downloadpyramid-4bb2095ae761474e072e190641c3645df971a2f5.tar.gz
pyramid-4bb2095ae761474e072e190641c3645df971a2f5.tar.bz2
pyramid-4bb2095ae761474e072e190641c3645df971a2f5.zip
Merge pull request #2489 from Pylons/feature/json_exceptions
Feature: JSON exceptions
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index da59c3e6f..96d8d8236 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,6 +1,13 @@
unreleased
==========
+- Pyramid HTTPExceptions will now take into account the best match for the
+ clients Accept header, and depending on what is requested will return
+ text/html, application/json or text/plain. The default for */* is still
+ text/html, but if application/json is explicitly mentioned it will now
+ receive a valid JSON response. See:
+ https://github.com/Pylons/pyramid/pull/2489
+
- (Deprecation) Support for Python 3.3 will be removed in Pyramid 1.8.
https://github.com/Pylons/pyramid/issues/2477