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
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 = URI.create(http://localhost:9000;);
URI targetUri =
Hi Mike,
This should do the trick.
RequestConfig config =
RequestConfig.custom().setCookieSpec(CookieSpecs.IGNORE_COOKIES).build();
HttpUriRequest request =
RequestBuilder.get().setUri(url).setConfig(config).build();
- Arul
On Sun, Nov 24, 2013 at 1:41 PM, Mike Wertheim
Hi Oleg,
Using it to control the chunk size on the Client, which can be configurable.
- Arul
On Wed, Nov 13, 2013 at 5:40 AM, Oleg Kalnichevski ol...@apache.org wrote:
On Tue, 2013-11-12 at 18:49 -1000, Arul Dhesiaseelan wrote:
Hi,
CoreConnectionPNames is deprecated. I could not find
Using chunked encoding to write the entity. So, this property is not
intended to control the chunk size of the entity?
- Arul
On Wed, Nov 13, 2013 at 6:43 AM, Oleg Kalnichevski ol...@apache.org wrote:
On Wed, 2013-11-13 at 06:32 -1000, Arul Dhesiaseelan wrote:
Hi Oleg,
Using
Thanks Oleg for clearing this up.
On Wed, Nov 13, 2013 at 7:06 AM, Oleg Kalnichevski ol...@apache.org wrote:
On Wed, 2013-11-13 at 06:54 -1000, Arul Dhesiaseelan wrote:
Using chunked encoding to write the entity. So, this property is not
intended to control the chunk size of the entity
Hi,
CoreConnectionPNames is deprecated. I could not find MIN_CHUNK_LIMIT
configuration in 4.3.1. The closest I can see is
ConnectionConfig.bufferSize. Not sure if they are the same.
Any idea?
Thanks,
Arul
Hi,
I have this code using 4.2.x APIs for controlling redirect at the request.
request.getParams().setBooleanParameter(ClientPNames.HANDLE_REDIRECTS,
false);
This allows me to configure redirect per-request, instead of the global
redirect client config.
How do I implement this in 4.3.x as
Nevermind, I see the RequestBuilder which has an API to set the redirects
on the RequestConfig.
requestBuilder.setConfig(RequestConfig.custom().setRedirectsEnabled(false).build());
requestBuilder.setEntity(entity);
requestBuilder.build()
- Arul
On Sat, Nov 9, 2013 at 4:58 PM, Arul Dhesiaseelan