hi Oleg,

Thanks for the reply. Sorry about the email, I shall look through the JIRA first next time.

I did search the mailing list archives via nabble though. :-)

Regards,
Sebastiaan

Oleg Kalnichevski wrote:
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]

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

Reply via email to