[web-devel] Upcoming WAI change: flushing

Michael Snoyman michael at snoyman.com
Thu Jan 26 09:52:21 CET 2012


On Thu, Jan 26, 2012 at 10:38 AM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
>> Without seeing the code in question, I would try:
>>     ResponseSource st hdr' $ fmap Chunk src
>>
>> This would create a stream without any flushing, which is what the
>> previous behavior supported.
>
> Ah. OK. Now I can compile wai-app-file-cgi. Thank you for your help.
>
> So, we should specify the Flash constructor when we want to flush the
> buffer, right?
>
> --Kazu

Correct. Here's an example program:

https://gist.github.com/1681814

Michael



More information about the web-devel mailing list