From 19eef8916cc556dffa3f9d48498bea869ee74b88 Mon Sep 17 00:00:00 2001 From: Michael Merickel <michael@merickel.org> Date: Wed, 10 Oct 2018 09:09:49 +0200 Subject: [PATCH] use webob's new offer normalization --- pyramid/config/routes.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyramid/config/routes.py b/pyramid/config/routes.py index 832fd3f..5d05429 100644 --- a/pyramid/config/routes.py +++ b/pyramid/config/routes.py @@ -318,8 +318,8 @@ DeprecationWarning, stacklevel=3, ) - # XXX switch this to verify=True when range support is dropped - accept = [normalize_accept_offer(accept, verify=False)] + # XXX switch this to False when range support is dropped + accept = [normalize_accept_offer(accept, allow_range=True)] else: accept = [ -- Gitblit v1.9.3