Re: Issue with deflate Content-Encode httpClient 4.1.3

2018-12-20 Thread Oleg Kalnichevski
; Thanks, > Aparna > > -Original Message- > From: Oleg Kalnichevski > Sent: Thursday, December 20, 2018 3:18 PM > To: Khare, Aparna ; HttpClient User Discussion > > Subject: Re: Issue with deflate Content-Encode httpClient 4.1.3 > > On Thu, 2018-12-20

RE: Issue with deflate Content-Encode httpClient 4.1.3

2018-12-20 Thread Khare, Aparna
quot;, "Content-Length": "0", "Host": "httpbin.davecheney.com", "User-Agent": "Apache-HttpClient/4.5.6 (Java/1.8.0_181)", "X-Envoy-Expected-Rq-Timeout-Ms": "15000", "X-Envoy-Internal&quo

Re: Issue with deflate Content-Encode httpClient 4.1.3

2018-12-20 Thread Oleg Kalnichevski
ipDecompressingEntity..without casting to > > GzipDecompressingEntity Im not getting byte[] some encoding issue > > with the response content > > > > > > > > I have seen that when I get the response content as InputStream and > > convert it to > &g

RE: Issue with deflate Content-Encode httpClient 4.1.3

2018-12-20 Thread Khare, Aparna
> I am sorry I do not understand. Oleg > > -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, 201

Re: Issue with deflate Content-Encode httpClient 4.1.3

2018-12-19 Thread Yossi Tamari
On Wed, Dec 19, 2018, 09:41 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 =

Re: Issue with deflate Content-Encode httpClient 4.1.3

2018-12-19 Thread Oleg Kalnichevski
d. Oleg > > -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, Apar

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, >

Re: Issue with deflate Content-Encode httpClient 4.1.3

2018-12-19 Thread Oleg Kalnichevski
On Wed, 2018-12-19 at 07:41 +, Khare, Aparna wrote: > 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 =

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 =