hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pieter Coucke" <pieter.cou...@onthoo.com>
Subject NhttpClient and proxy
Date Mon, 24 Nov 2008 11:05:37 GMT

I would like to use a proxy (Squid) with the example code from

I tried to set the params with
params.setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);

and also in the HttpRequestExecutionHandler#initializeContext() I tried it with
context.setAttribute(ExecutionContext.HTTP_PROXY_HOST, proxy);

However, both without success.  Can someone maybe point me to what I'm
missing here?

Thanks a lot!


To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message