From 4a9f4f43684c3a754f43935b97013057340c305d Mon Sep 17 00:00:00 2001 From: Michael Merickel <michael@merickel.org> Date: Wed, 10 Oct 2018 07:04:43 +0200 Subject: [PATCH] deprecate range support --- CHANGES.rst | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 3934c5a..e1f782e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -113,6 +113,17 @@ implementation if you're still using these features. See https://github.com/Pylons/pyramid/pull/3353 +- Media ranges are deprecated in the ``accept`` argument of + ``pyramid.config.Configurator.add_route``. Use a list of explicit + media types to ``add_route`` to support multiple types. + +- Media ranges are deprecated in the ``accept`` argument of + ``pyramid.config.Configurator.add_view``. There is no replacement for + ranges to ``add_view``, but after much discussion the workflow is + fundamentally ambiguous in the face of various client-supplied values for + the ``Accept`` header. + See https://github.com/Pylons/pyramid/pull/3326 + Backward Incompatibilities -------------------------- -- Gitblit v1.9.3