Re: Proxy Connection fails with Apache HttpClient but succeeds with java.net.URLConnection

2018-08-03 Thread Sreyan Chakravarty
It worked. Thanks for the help. This example helped me : https://hc.apache.org/httpcomponents-client-4.5.x/httpclient-win/examples/org/apache/http/examples/client/win/ClientWinAuth.java On Wed, Jul 25, 2018 at 8:07 PM Sreyan Chakravarty wrote: > What is the difference between them? What is the

Re: Proxy Connection fails with Apache HttpClient but succeeds with java.net.URLConnection

2018-07-25 Thread Sreyan Chakravarty
What is the difference between them? What is the meaning of "Windows platform specific authentication code" ? What is the authentication code? Also what is " native Windows authentication " ? Where can I find more information about this? Any docs? What is the meaning of authentication code?

Re: Proxy Connection fails with Apache HttpClient but succeeds with java.net.URLConnection

2018-07-25 Thread Oleg Kalnichevski
On Tue, 2018-07-24 at 20:50 +0530, Sreyan Chakravarty wrote: > I am on a Windows machine at work and am using HttpClient to make a > request > via a web proxy. But the problem is that I keep 407 Authentication > required > message. > > But if I do the same thing via the RestTemplate of Spring,

Proxy Connection fails with Apache HttpClient but succeeds with java.net.URLConnection

2018-07-24 Thread Sreyan Chakravarty
I am on a Windows machine at work and am using HttpClient to make a request via a web proxy. But the problem is that I keep 407 Authentication required message. But if I do the same thing via the RestTemplate of Spring, which uses the vanilla java.net.URLConnection class, with supplying just the