summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalthe Borch <mborch@gmail.com>2009-10-22 13:17:19 +0000
committerMalthe Borch <mborch@gmail.com>2009-10-22 13:17:19 +0000
commit7a13fbf4f966df1a4a35c47003155f41fe498a93 (patch)
tree41fb63b4104e24e292705bd1f5fea5a483e7cb65 /docs
parentd6df9b056b5ea87e8d08cbc52c284b5eb154b29b (diff)
downloadpyramid-7a13fbf4f966df1a4a35c47003155f41fe498a93.tar.gz
pyramid-7a13fbf4f966df1a4a35c47003155f41fe498a93.tar.bz2
pyramid-7a13fbf4f966df1a4a35c47003155f41fe498a93.zip
Added ``path_info`` predicate (regex-filters on the corresponding HTTP header).
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/views.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst
index 1017525f8..63fb4fd58 100644
--- a/docs/narr/views.rst
+++ b/docs/narr/views.rst
@@ -545,6 +545,12 @@ header
header name/value pair, the case of the header name is not
significant.
+path_info
+
+ The value of this attribute represents a regex query for the
+ ``PATH_INFO`` HTTP request header. If the regex matches, this
+ predicate will be true.
+
.. note:: This feature is new as of :mod:`repoze.bfg` 1.1.
.. _mapping_views_to_urls_using_a_decorator_section: