From 254efda1456a707afd36ec8ee505dc1bb76f8a77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Thu, 23 Apr 2020 18:11:55 -0400 Subject: support multiple values for header predicate --- docs/narr/viewconfig.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/narr/viewconfig.rst') diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst index 891d294d7..c40f1181a 100644 --- a/docs/narr/viewconfig.rst +++ b/docs/narr/viewconfig.rst @@ -448,10 +448,10 @@ configured view. associated view callable. ``header`` - This value represents an HTTP header name or a header name/value pair. + This value matches one or more HTTP header names or header name/value pairs. - If ``header`` is specified, it must be a header name or a - ``headername:headervalue`` pair. + If ``header`` is specified, it must be a string or a sequence of strings, + each being a header name or a ``headername:headervalue`` pair. If ``header`` is specified without a value (a bare header name only, e.g., ``If-Modified-Since``), the view will only be invoked if the HTTP header -- cgit v1.2.3