
13 Apr
2011
13 Apr
'11
12:27 a.m.
On Wed, Apr 13, 2011 at 7:02 AM, Kazu Yamamoto
Erik,
I have done stuff like this before in C++ and Ocaml, so the mechanics are not a mystery. However I would like as much as possible to make use of existing Haskell libraries to cut down the development time.
I recommend wai and warp which are available on Hackage. I asked Michael, the author of the libraries, to handle absolute URLs in warp. So, you can use it as a platform for HTTP proxies even for HTTP/1.0.
And I would throw http-enumerator into that mix: its interface was actually designed to work together with WAI, so it should be fairly easy to pair them up together.
Michael