[hunchentoot-devel] dispatch-table request

Zach Beane xach at xach.com
Mon Dec 4 16:55:21 UTC 2006


On Mon, Dec 04, 2006 at 08:52:40AM -0800, Cyrus Harmon wrote:
> 
> Edi,
> 
> First of all, thanks for hunchentoot! I'm still getting used to it,  
> but it seems great so far. But I do have a request. Would it be  
> possible (and advisable) to extend the dispatch table to provide some  
> metadata for each dispatcher? this could even be done in a backward  
> compatible way by allowing the dispatchers in *dispatch-table* to be  
> conses (or objects of an appropriately defined class) which would be  
> examined as necessary, or just funcalled as they are presently, in  
> the event that the dispatcher is just a lambda. This would facilitate  
> debugging and modifying the dispatch table.

Why not make a dispatcher that does exactly what you want, and put it
first in *dispatch-table*? Then you can have all kinds of non-default
behavior, with no modifications to hunchentbnl. :)

Zach



More information about the Tbnl-devel mailing list