Thanks, Fabio
Worked like a charm.
On Wed, Jun 2, 2010 at 11:08 AM, Fabio Mascarenhas wrote:
> Hi Jason,
>
> See http://github.com/keplerproject/mk/blob/master/src/mk.lua. The
> serve_file method takes a WSAPI environment and a filename and returns
> a WSAPI response (a status, headers, iterator
Hi Jason,
See http://github.com/keplerproject/mk/blob/master/src/mk.lua. The
serve_file method takes a WSAPI environment and a filename and returns
a WSAPI response (a status, headers, iterator triple) that sends the
file one block at a time, generating an ETag for it.
--
Fabio Mascarenhas
2010
Hi,
I am serving a very simple application using Xavante and at a certain point
I need to send a very large file to the client.
I believe the filehandler.lua does what I need -- but its functions are not
accessible from the .lua file in the application.
I thought about copy-pasting the source fr