summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-11-01 00:48:04 +0000
committerChris McDonough <chrism@agendaless.com>2009-11-01 00:48:04 +0000
commit65476e8d2cef6b3ce105c4786645a88151a09a6c (patch)
tree40d0c77df2fa1ba54c6bdb9df7effcc7a70049a9 /docs/tutorials
parent3052d0b41bd06314b0b1f1c78e9977b8174f637a (diff)
downloadpyramid-65476e8d2cef6b3ce105c4786645a88151a09a6c.tar.gz
pyramid-65476e8d2cef6b3ce105c4786645a88151a09a6c.tar.bz2
pyramid-65476e8d2cef6b3ce105c4786645a88151a09a6c.zip
- The ZCML ``route`` directive's attributes ``xhr``,
``request_method``, ``path_info``, ``request_param``, ``header`` and ``accept`` are now *route* predicates rather than *view* predicates. If one or more of these predicates is specified in the route configuration, all of the predicates must return true for the route to match a request. If one or more of the route predicates associated with a route returns ``False`` when checked during a request, the route match fails, and the next match in the routelist is tried. This differs from the previous behavior, where no route predicates existed and all predicates were considered view predicates, because in that scenario, the next route was not tried.
Diffstat (limited to 'docs/tutorials')
0 files changed, 0 insertions, 0 deletions