
5 Oct
2011
5 Oct
'11
3:08 a.m.
Hello Michael,
The ResponseEnumerator itself is in charge of the entire process, including running the Iteratee. So in pseudo-code, you'd do something like:
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. --Kazu