From 7a13fbf4f966df1a4a35c47003155f41fe498a93 Mon Sep 17 00:00:00 2001 From: Malthe Borch Date: Thu, 22 Oct 2009 13:17:19 +0000 Subject: Added ``path_info`` predicate (regex-filters on the corresponding HTTP header). --- docs/narr/views.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') 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: -- cgit v1.2.3