[web-devel] reverse proxy

yi huang yi.codeplayer at gmail.com
Tue Nov 15 13:08:25 CET 2011

git version of warp added `settingsIntercept` , within with you can
manipulate sockets directly. but you would need to duplicate some code to
send response.
I also hope warp internal can be more modular.

On Tue, Nov 15, 2011 at 6:18 PM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:

> Hello,
> I'm implementing a reverse proxy with http-enumerator on Warp. My
> reverse proxy can rely HTTP headers but I have no idea on how to relay
> HTTP bodies. I want to know how to specify
> Network.HTTP.Enumerator.Request.requestBody on WAI.
> My current code is available from:
> https://github.com/kazu-yamamoto/wai-app-file-cgi/blob/master/Network/Wai/Application/Classic/RevProxy.hs
> Thanks in advance.
> --Kazu
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20111115/f335d00c/attachment.htm>

More information about the web-devel mailing list