Re: Proxy authentication + Basic authentication on the Client instance

2013-12-23 Thread Oleg Kalnichevski
On Sun, 2013-12-22 at 20:55 -1000, Arul Dhesiaseelan wrote: Hi, I am using a proxy to connect to a web service. Both proxy and web service are secured with different set of credentials. I am trying to perform a GET request using Apache HttpClient 4.3.1. URI proxyUri =

HttpClient and virtual hosts

2013-12-23 Thread Francois-Xavier Bonnet
Hi, I am trying to migrate to HttpClient 4.3 and I cannot find a way to do what I used to do before with virtual hosts without using any deprecated api. My goal is to be able to send a request to a server but using a Host header with a different server name. I am using a HttpClient with cache

Re: Proxy authentication + Basic authentication on the Client instance

2013-12-23 Thread Arul Dhesiaseelan
Awesome, that did the trick. Thanks Oleg. On Sun, Dec 22, 2013 at 10:42 PM, Oleg Kalnichevski ol...@apache.orgwrote: On Sun, 2013-12-22 at 20:55 -1000, Arul Dhesiaseelan wrote: Hi, I am using a proxy to connect to a web service. Both proxy and web service are secured with different

Re: HttpClient and virtual hosts

2013-12-23 Thread Oleg Kalnichevski
On Mon, 2013-12-23 at 10:21 +0100, Francois-Xavier Bonnet wrote: Hi, I am trying to migrate to HttpClient 4.3 and I cannot find a way to do what I used to do before with virtual hosts without using any deprecated api. My goal is to be able to send a request to a server but using a Host