[web-devel] http-enumerator connecting via a http proxy

Erik de Castro Lopo mle+hs at mega-nerd.com
Tue May 10 05:04:05 CEST 2011


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/



More information about the web-devel mailing list