Re: [Haskell-cafe] Re: PROPOSAL: Web application interface

2010-01-24 Thread Michael Snoyman
Minor spec question: what should be the defined behavior when an application requests that a file be sent and it does not exist? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: PROPOSAL: Web application interface

2010-01-24 Thread Michael Snoyman
On Sun, Jan 24, 2010 at 1:23 PM, Bardur Arantsson wrote: > Michael Snoyman wrote: > > [--snip--] > > Next, I have made the ResponseBodyClass typeclass specifically with the >> goal >> of allowing optimizations for lazy bytestrings and sending files. The >> former >> seems far-fetched; the latter

Re: [Haskell-cafe] Re: PROPOSAL: Web application interface

2010-01-24 Thread Nicolas Pouillard
On Sun, 24 Jan 2010 12:23:46 +0100, Bardur Arantsson wrote: > Michael Snoyman wrote: > > [--snip--] > > Next, I have made the ResponseBodyClass typeclass specifically with the goal > > of allowing optimizations for lazy bytestrings and sending files. The former > > seems far-fetched; the latter

[Haskell-cafe] Re: PROPOSAL: Web application interface

2010-01-24 Thread Bardur Arantsson
Michael Snoyman wrote: [--snip--] Next, I have made the ResponseBodyClass typeclass specifically with the goal of allowing optimizations for lazy bytestrings and sending files. The former seems far-fetched; the latter provides the ability to use a sendfile system call instead of copying the file