you could easily knock up an HttpHandler that did ...
# http4k
d
you could easily knock up an HttpHandler that did that - took a vararg of pairs of lenses -> handlers and then called the correct one once it got a match