summaryrefslogtreecommitdiff
path: root/docs/narr/viewconfig.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2020-04-23 18:11:55 -0400
committerÉric Araujo <merwok@netwok.org>2020-05-04 17:43:39 -0400
commit254efda1456a707afd36ec8ee505dc1bb76f8a77 (patch)
tree8558e494b4325b1a324c49977c4b9341dedeffc2 /docs/narr/viewconfig.rst
parent7dd166b158594dec3e222bf041cdfd806f633f88 (diff)
downloadpyramid-254efda1456a707afd36ec8ee505dc1bb76f8a77.tar.gz
pyramid-254efda1456a707afd36ec8ee505dc1bb76f8a77.tar.bz2
pyramid-254efda1456a707afd36ec8ee505dc1bb76f8a77.zip
support multiple values for header predicate
Diffstat (limited to 'docs/narr/viewconfig.rst')
-rw-r--r--docs/narr/viewconfig.rst6
1 files changed, 3 insertions, 3 deletions
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