
30 Oct
2013
30 Oct
'13
1:06 a.m.
On Tue, Oct 29, 2013 at 11:24 PM, Michael Snoyman
In order to get the behavior you're looking for, you need to flush the Builders to cause the buffers to be emptied. The important change is to your say function:
say :: Monad m => ByteString -> Source m Builder say bs = yield (fromByteString bs <> flush)
I've set this up as a SoH tutorial as well: https://www.fpcomplete.com/user/snoyberg/random-code-snippets/http-conduit-b...
Thanks again, Michael! That’s precisely what I needed!