[web-devel] wai and conduit 0.4 for proxy
michael at snoyman.com
Tue Apr 3 17:37:07 CEST 2012
On Tue, Apr 3, 2012 at 5:07 PM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
> I'm trying to catch up conduit 0.4. To pass requestBody of Request to
> ResponseSource of Response, we need to convert types as follows:
> Source (ResourceT IO) ByteString -> Source (ResourceT IO) (Flush Builder)
> The way which I could find is:
> src $= CL.map (Chunk . byteStringToBuilder)
> Is this a right way? Or, is there another proper way?
> web-devel mailing list
> web-devel at haskell.org
Looks good to me.
More information about the web-devel