git version of warp added `settingsIntercept` , within with you can manipulate sockets directly. but you would need to duplicate some code to send response.
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