Sebastiaan van Erk wrote:
Hi,
I'm trying to set a default proxy in httpclient 4.0-alpha3, and I'm
doing this:
HttpRouteParams.setDefaultProxy(client.getParams(), proxy);
However, this is not working, i.e., it is just using a direct route.
When I do this however on the post:
HttpRouteParams.setDefaultProxy(post.getParams(), proxy);
The proxy IS used.
Is there a way to set a default proxy globally instead of having to set
it per request?
It is a known bug
https://issues.apache.org/jira/browse/HTTPCLIENT-757
Oleg
Regards,
Sebastiaan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]