Displaying 1 result from an estimated 1 matches for "weirdhandl".
Did you mean:
weirdhandler
2006 Feb 02
0
Mongrel HTTP Library 0.2.1 (Fancy URI Matching)
...;/test", SimpleHandler.new)
h.run.join
Which is the way things always worked anyhow. The big change though
is that you can load up handlers at any individual character, and the
longest match wins. So, you can even do this (in theory):
h.register("/test;mystuff;thosestuffs", WeirdHandler.new)
The main advantage of this is that the URIClassifier doesn''t actually
parse the URI, it just uses the trie to find the longest prefix with
a handler. I''m sure people will find bizarre uses for this.
Also, registering and unregistering is pretty fast. The tradeoff...