On 30 March 2012 11:36, Lennart Kolmodin <[email protected]> wrote: > Before I saw happstack-wai I had a quick look at the happstack API and saw > that the Request keeps the request body as a (lazy?) String. I'm curious to > the rationale for this, as one could expect a lazy bytestring would be more > efficient, and some kind of stream would better support error handling > (given that the String is indeed lazy).
The rationale is probably that Happstack has been around for years. :) Part of the Happstack 8 roadmap is a new HTTP backend, likely using Pipes, possibly with support for SPDY, and including a new Request datatype and quite probably much fewer uses of String.
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
