[hunchentoot-devel] Controlling file uploads with hunchentoot

Semion Prihodko semion.ababo at gmail.com
Wed Dec 16 19:29:36 UTC 2009


> You can then use your own dispatch mechanism to associate
> this function with any URI(s) of your liking.

Please show me briefly how to do it. Thank you.

2009/12/16 Edi Weitz <edi at agharta.de>

> On Wed, Dec 16, 2009 at 8:07 PM, Semion Prihodko <semion.ababo at gmail.com>
> wrote:
> > but seems this is an ugly way...
>
> You're of course entitled to your own opinion... :)
>
> > I would like to save reference to an easy
> > handle and then arbitrary to enable it under some URI or disable. Does
> > Hunchentoot support this kind of actions?
>
> Yes, it's explained in the documentation.  You can use
> define-easy-handler without the URI parameter to simply define a named
> function.  You can then use your own dispatch mechanism to associate
> this function with any URI(s) of your liking.
>
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20091216/2c70f87a/attachment.html>


More information about the Tbnl-devel mailing list