I am using a simple example from the HTTP.Conduit documentation found here .
import Network.HTTP.Conduit
import qualified Data.ByteString.Lazy as L
main = simpleHttp "http://www.haskell.org/" >>= L.putStr
My system requires a proxy server that installs with an environment variable http_proxyand takes the form http://user:pass@proxy:port/.
Http.Conduit throws an exception with an error:
*** Exception: InvalidProxyEnvironmentVariable "http_proxy" "http://user:pass@proxy:port/"
(I changed the proxy details ..)
What is the problem? Http.Conduit does not support authentication?
source
share