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?

Regards,
Sebastiaan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to