Re: Handling Url's redirection using Httpclient

2015-02-10 Thread Bhowmik, Bindul
Hello, On Tue, Feb 10, 2015 at 5:35 AM, gdrsantosh wrote: > I am using Httpclient to get the web page content,when we specify below urls > like > > http://www.milwaukeetool.com/power-tools#product+Types=Diamond+Coring > it will be redirected to > http://www.milwaukeetool.com/power-tools?product+T

Re: issue with https connection using Apache http client 4.3.5 with android

2016-04-22 Thread Bhowmik, Bindul
Sunil, While it is a bad idea to turn off certificate verification in production code (allows MITM attacks); if you absolutely have you, you can look at org.apache.http.conn.ssl.AllowAllHostnameVerifier (or org.apache.http.conn.ssl.NoopHostnameVerifier for newer versions of Http Client). Bindul

Re: Multiple DNS Server Settings

2016-08-11 Thread Bhowmik, Bindul
Murat, On Thu, Aug 11, 2016 at 1:36 PM, Murat Balkan wrote: > Hi, > I will send out more than 100 get requests to several sites. However, I'd > like to use different DNS Server settings for each of them. What is the most > efficient way of doing this? > > As long as I know the setDns function i

Re: Disabling pooling of PoolingConnectionManager

2016-10-17 Thread Bhowmik, Bindul
Murat, On Mon, Oct 17, 2016 at 11:12 AM, Murat Balkan wrote: > Hi, > > We are using PoolingHttpClientConnectionManager to open up connections to > multiple URL's in different threads (via different HttpGet objects). > > The only reason we are using the PoolingHttpClientConnectionManager is its' >

Re: Disabling pooling of PoolingConnectionManager

2016-10-17 Thread Bhowmik, Bindul
; Regards, > Murat > > On Mon, Oct 17, 2016 at 2:31 PM, Bhowmik, Bindul > wrote: > >> Murat, >> >> On Mon, Oct 17, 2016 at 11:12 AM, Murat Balkan wrote: >> > Hi, >> > >> > We are using PoolingHttpClientConnectionManager to open up con

Re: Disabling pooling of PoolingConnectionManager

2016-10-17 Thread Bhowmik, Bindul
hat the pooling connection manager > will always return a new connection regardless of the route provided? I did not think about that, guess you could use the NoConnectionReuseStrategy - Bindul > > Regards. > Murat > > On Mon, Oct 17, 2016 at 5:05 PM, Bhowmik, Bindul > wrote: &g

Re: How to use TLSv1.2 with httpclient 4.1.2 (httpcore 4.1.3)

2017-02-10 Thread Bhowmik, Bindul
On Fri, Feb 10, 2017 at 3:30 PM, KARR, DAVID wrote: > I've been asked to look at some old code using httpclient-4.1.2 and > httpcore-4.1.3, which connects to internal sites using TLSv1.0. We now need > to force it to use TLSv1.2. Several other devs have tried to get this to > work, and they'v

Re: How to use TLSv1.2 with httpclient 4.1.2 (httpcore 4.1.3)

2017-02-14 Thread Bhowmik, Bindul
On Tue, Feb 14, 2017 at 2:08 PM, KARR, DAVID wrote: >> -Original Message- >> From: Bhowmik, Bindul [mailto:bindulbhow...@gmail.com] >> Sent: Friday, February 10, 2017 3:12 PM >> To: HttpClient User Discussion >> Subject: Re: How to use TLSv1.2 with ht

Re: https digest request failing with security exception

2017-03-31 Thread Bhowmik, Bindul
Dave, On Fri, Mar 31, 2017 at 11:21 AM, David Thielen wrote: > I have some simple code that does what I think is a correct & basic request > to read the url https://httpbin.org/digest-auth/auth/user/passwd > > Reading that url in a browser works fine. But the code throws: > Exception in thread "