[hunchentoot-devel] Publishing stream data?
Edi Weitz
edi at agharta.de
Tue Oct 2 06:14:20 UTC 2007
On Mon, 1 Oct 2007 09:13:47 -0300, "Leonardo Varuzza" <varuzza at gmail.com> wrote:
> Coincidently playing with hunchentoot yesterday I encountered the
> same problem with streams. Based in the code of HANDLE-STATIC-FILE a
> made a path with 2 functions and one macro:
>
> make-http-output-stream witch send the appropriate headers and
> return a stream. This function deal with content-type and
> content-disposition headers.
>
> with-http-output-stream Create an http-output-stream, run the
> code and call finish-output
>
> handle-stream Copy the stream to the http-output
>
> I hope to contribute to the hunchetoot development.
Thanks for the patch, but I hope you don't mind if I think that this
is in the realm of things that can and should be done by Hunchentoot
users and not be provided by the library.
Cheers,
Edi.
More information about the Tbnl-devel
mailing list