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@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@haskell.org
http://www.haskell.org/mailman/listinfo/web-devel



--
http://www.yi-programmer.com/blog/