
On Tue, May 10, 2011 at 6:04 AM, Erik de Castro Lopo
Hi all,
Has anyone managed to get http-enumerator connecting via a http proxy?
I've tried constructing a custom 'Request m' object and submitting that the httpLbsRedirect but all I've managed to get is:
connect: does not exist (Connection refused)
Clues? Would this need a new http-enumerator function something like:
httpProxyLbsRedirect :: (MonadIO m, Failure HttpException m) => String -> Int -> Request m -> Manager -> m Response
where the first two parameters are the proxy hostname and port?
Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
I've never tried http-enumerator with a proxy, but I'm almost certain it won't work without modifying the code to handle it. I'll accept patches/provide help to write this, but I won't be able to write it myself in the near future. Michael