summaryrefslogtreecommitdiff
path: root/www/ruby-rack-mount/DESCR
blob: e4dc8f21e02240526b8a543d23f41fed0bbbbc8d (plain)
1
2
3
4
5
6
7
8
9
A stackable dynamic tree based Rack router.

Rack::Mount supports Rack's +X-Cascade+ convention to continue trying
routes if the response returns +pass+.  This allows multiple routes to
be nested or stacked on top of each other.  Since the application
endpoint can trigger the router to continue matching, middleware can
be used to add arbitrary conditions to any route.  This allows you to
route based on other request attributes, session information, or even
data dynamically pulled from a database.