The pecan.routing module is the basis for all object-dispatch routing in Pecan.
Traverses the requested url path and returns the appropriate controller object, including default routes.
Handles common errors gracefully.
‘Walks’ the url path in search of an action for which a controller is implemented and returns that controller object along with what’s left of the remainder.