summaryrefslogtreecommitdiff
path: root/docs/whatsnew-1.7.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2016-04-15 00:54:27 -0500
committerMichael Merickel <michael@merickel.org>2016-04-15 00:54:27 -0500
commit3fc6e7fb89c2fcece39f448fd4e3a2c0c54b8439 (patch)
treed73c7ad4c088c4c1e86b6b8fe2e90d7776761f1a /docs/whatsnew-1.7.rst
parent53356f9bf8e9bbf2274e215b82e177b8cab54190 (diff)
downloadpyramid-3fc6e7fb89c2fcece39f448fd4e3a2c0c54b8439.tar.gz
pyramid-3fc6e7fb89c2fcece39f448fd4e3a2c0c54b8439.tar.bz2
pyramid-3fc6e7fb89c2fcece39f448fd4e3a2c0c54b8439.zip
link to HTTPException class
Diffstat (limited to 'docs/whatsnew-1.7.rst')
-rw-r--r--docs/whatsnew-1.7.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/whatsnew-1.7.rst b/docs/whatsnew-1.7.rst
index 00804741f..8467078e0 100644
--- a/docs/whatsnew-1.7.rst
+++ b/docs/whatsnew-1.7.rst
@@ -54,12 +54,12 @@ Feature Additions
See :ref:`auto_csrf_checking` and
https://github.com/Pylons/pyramid/pull/2413
-- 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
+- Subclasses of :class:`pyramid.httpexceptions.HTTPException` 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
- A new event, :class:`pyramid.events.BeforeTraversal`, and interface
:class:`pyramid.interfaces.IBeforeTraversal` have been introduced that will