You may want to check this thread. http://forum.world.st/ANN-Teapot-0-8-micro-web-framework-tp4774449.html
Hope it solves your needs :) 2014-09-12 10:28 GMT+02:00 Christophe Demarey <christophe.dema...@inria.fr>: > Hi, > > I use Zinc-Rest and it works like a charm, really simple to quickly get > something working. > I have a question about URL pattern matching that is used to dispatch > request to the right handler. > I want to have following URLs: > /foo/* > /foo/latest > I defined 2 handlers with following patterns: > #('foo' '*') > #('foo' 'latest') > > I was expecting that the more precise handler was chosen but it was the > generic handler (with '*'). Is there a way to do that? > It is not blocking because I can use the same handler to manage both > patterns but I would prefer to have them separated as the semantic is not > the same. > > Regards, > Christophe.