I've made a patch to have this feature built into Compojure. It's
available in my Compojure repo on github, but is integrated in the
adapters namespace that is not yet committed in the main Compojure
repo.
I've also found a problem with grizzly servers while testing this
feature. If you restart a grizzly server, it loose all its handlers.
I've not yet looked into the cause for this behavior, does someone
have an idea about what is happening?