[web-devel] limiting POST

Felipe Almeida Lessa felipe.lessa at gmail.com
Fri Jan 6 10:03:31 CET 2012

On Fri, Jan 6, 2012 at 1:45 AM, Michael Snoyman <michael at snoyman.com> wrote:
> Actually, the application can have full control over this, by either
> ignoring the request body entirely (Warp will essentially stream it to
> /dev/null) or throwing an exception.

On this move to conduit, I'd like to see some sort of a Source of POST
parameters on Yesod.  AFAIK, currently the only pretty API is the one
that puts the whole request into memory.  What do you think about it,
Michael?  Something that spits out a stream of

  data StreamPostParam =
    NewParam {- info about the param -}
    Data ByteString



More information about the web-devel mailing list