[hunchentoot-devel] minor modification to HANDLE-STATIC-FILE

Hans Hübner hans at huebner.org
Fri Dec 5 12:38:34 UTC 2008


On Fri, Dec 5, 2008 at 13:04, Edi Weitz <edi at agharta.de> wrote:
> On Fri, 5 Dec 2008 12:38:10 +0200, Vsevolod <vseloved at gmail.com> wrote:
>
>> Than, maybe add optional parameter to HANDLE-STATIC-FILE?
>
> Yeah, maybe something like that.  But in that case I'd use keywords
> and not optional arguments.
>
> I'm not sure if that's really so useful, though.  What do others
> think?

I think that the content disposition is application specific.  I'd not
put it into handle-static-file.  Applications can always use their own
handler function to set up appropriate headers, then call
handle-static-file to do the gruntwork.

-Hans




More information about the Tbnl-devel mailing list