[web-devel] questions about ResponseEnumerator
michael at snoyman.com
Wed Oct 5 21:43:20 CEST 2011
On Wed, Oct 5, 2011 at 9:08 AM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
> Hello Michael,
>> The ResponseEnumerator itself is in charge of the entire process,
>> including running the Iteratee. So in pseudo-code, you'd do something
>> ResponseEnumerator $ \mkiter -> do
>> handle <- getHandle
>> run_ $ enumHandler handle $ mkiter status headers
>> hClose handle
> Understood. Thanks.
>> I think we could make that functionality optional, based on an extra
>> setting parameter. Would this just be boolean, or is more
>> sophisticated control required?
> What I want to do is to prevent a bad guy abusing CGI. So, I guess
> that boolean is enough.
Alright, here's a first stab. What do you think?
More information about the web-devel