RE: Way to send p12 file with post payload in httpclient 4.5.4

2019-09-26 Thread Khare, Aparna
be consumed only once. Gruss Bernd -- http://bernd.eckenfels.net Von: Khare, Aparna Gesendet: Donnerstag, September 26, 2019 9:03 AM An: HttpClient User Discussion Betreff: Way to send p12 file with post payload in httpclient 4.5.4 Dear All, Im using the below

Way to send p12 file with post payload in httpclient 4.5.4

2019-09-26 Thread Khare, Aparna
Dear All, Im using the below httpclient code to send the pk12 file Input stream is the stream obtained after reading pk12 file the same file is to be send to another endpoint MultipartEntity entity = new MultipartEntity(); entity.addPart("file", new InputStreamBody(inputStream2,

NoHttpResponseException in httpclient 4.5.4

2019-08-06 Thread Khare, Aparna
We are using httpclient 4.5.4 and httpcore 4.4.9 We are getting this error .. Any idea would help org.apache.http.NoHttpResponseException: saaa:443 failed to respond at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:141) at

RE: Issue with deflate Content-Encode httpClient 4.1.3

2018-12-20 Thread Khare, Aparna
Hi Oleg, Actually we cannot move from HttpClient 4.1.3 can we get this fixed here ...or if there is a workaround.. Thanks, Aparna -Original Message- From: Oleg Kalnichevski Sent: Thursday, December 20, 2018 3:18 PM To: Khare, Aparna ; HttpClient User Discussion Subject: Re: Issue

RE: Issue with deflate Content-Encode httpClient 4.1.3

2018-12-20 Thread Khare, Aparna
Content-Encode httpClient 4.1.3 On Wed, 2018-12-19 at 13:39 +, Khare, Aparna wrote: > Thank Oleg but if that is the case do I still need to send type cast > to GzipDecompressingEntity..without casting to > GzipDecompressingEntity Im not getting byte[] some encoding issue > with

RE: Issue with deflate Content-Encode httpClient 4.1.3

2018-12-19 Thread Khare, Aparna
the byte[] properly.. -Original Message- From: Oleg Kalnichevski Sent: Wednesday, December 19, 2018 3:47 PM To: HttpClient User Discussion Subject: Re: Issue with deflate Content-Encode httpClient 4.1.3 On Wed, 2018-12-19 at 07:41 +, Khare, Aparna wrote: > Dear All, >

Issue with deflate Content-Encode httpClient 4.1.3

2018-12-18 Thread Khare, Aparna
Dear All, We have some constraints in moving to new httpclient and we are using 4.1.3. Any help is appreciated. gzipContent works but deflated is not working. if (response.getEntity() != null) { HttpEntity entity = response.getEntity(); Header contentEncodingHeader =

Redirection in httpClient

2018-06-25 Thread Khare, Aparna
Hi All, We have moved our application to version 4.5.2 and we want to check how we can configure our httpclient to handle redirection .. We connect to the proxy agent which takes only http calls. The redirected URL is https how can we enable the redirection only make an connection( HTTP

Async httpclient with SOCKS5 proxy

2018-05-17 Thread Khare, Aparna
Dear Users, Can you please help me with the examples to configure Async HttpClient with SOCKS5 proxy.. I read that the same is not supported for Async httpclient.. Thanks, Aparna

RE: Versions and osgi and async and such

2018-04-12 Thread Khare, Aparna
: Tuesday, April 10, 2018 6:22 PM To: HttpClient User Discussion <httpclient-users@hc.apache.org> Subject: Re: Versions and osgi and async and such On Tue, 2018-04-10 at 09:53 +, Khare, Aparna wrote: > Hi All , > >    We are also trying to use the lastest HTTPClient 4.5.5 with Asy

RE: Versions and osgi and async and such

2018-04-10 Thread Khare, Aparna
Hi All , We are also trying to use the lastest HTTPClient 4.5.5 with Asycn Httpclient .. When we try to bundle the latest Async HttpClient we are not able to start the application because of missing dependency.. we need to find the relevant OSGI jars httpclient-cache-4.5.3 etc which we

How to implement httpPatch in httpCLient 4.1.3

2017-02-20 Thread Khare, Aparna
Dear Users, I have a requirement where I want to implement HTTPPatch method. The problem is we are still on httpClient 4.1.3 which does not have a default method for PATCH. I need help if there are ways I can do the same. Looking forward to the experts. Thanks, Aparna

HttpClient 4.1.3 Peer not verified

2016-09-01 Thread Khare, Aparna
Hi All, I'm using httpclien-4.1.3 and I get the below issue. I have used trust all mode Below is the code SSLContext sslContext; try { sslContext = SSLContext.getInstance("SSL"); TrustManager[] trustAllTrustManagers = new TrustManager[] { new

RE: EntityUtils.ToString() is too slow

2016-07-23 Thread Khare, Aparna
parse the json response. Any suggestion and help would be great Thanks, aparna From: e...@zusammenkunft.net [mailto:e...@zusammenkunft.net] Sent: Friday, July 22, 2016 11:39 PM To: Khare, Aparna <aparna.kh...@sap.com>; httpclient-users@hc.apache.org Subject: AW: EntityUtils.ToString() is to

EntityUtils.ToString() is too slow

2016-07-22 Thread Khare, Aparna
Dear All, I'm trying to use EntityUtils.toString(responseEntity, RuntimeAdapterConstants.UTF_8) Where responseEntity is string to read the json response this is taking around 5 seconds. Can you please help how I can improve the turnaround time or use some other api Thanks, Aparna

Issue with httpClint 4.1.3 using the same httpClient instance gets stuck

2016-05-24 Thread Khare, Aparna
Dear Colleagues, Can anyone help with this. I want to resuse the same httpClient instance in my application, The problem is after the second httpClient Execute the request hangs to solve this I did the following configuration to my httpClient

Issues with parsing httpClient cookie for XSRF handling

2016-05-09 Thread Khare, Aparna
Dear Colleagues, I have a service which does CSRF protection for POST and PUT method when I Do GET I should first fetch the xsrf token passing fetch header with that I get the client cookies and the same cookies should be sent I get the XSRF as well as cookies but somehow the token is