[web-devel] Advice on implementing a web proxy

Erik de Castro Lopo mle+hs at mega-nerd.com
Thu Dec 8 08:53:44 CET 2011


Erik de Castro Lopo wrote:

> Hmm, I came to this conclusion some time ago and the actual
> code seems to be different from how I remember it. However,
> there is still a problem.
> 
> The problem is that the Wai.Request structure
> 
>     http://hackage.haskell.org/packages/archive/wai/0.4.2/doc/html/src/Network-Wai.html#Response
> 
> has no requestBody field.

Hmm, thinking about this some more, I actually don't think
this needs any changes to Wai.Response.

I also think I can handle this completely in my proxy, including
the streaming of large response bodies.

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the web-devel mailing list