Re: Async client and gzip request : UnsupportedOperationException

2018-07-19 Thread Oleg Kalnichevski
On Thu, 2018-07-19 at 13:55 +0200, Gabriel Landais wrote: > Hi, > my scenario : > > 1. create an entity with an EntityBuilder and use > EntityBuilder.gzipCompress() > (it will create a GzipCompressingEntity) > 2. set entity on a compatible HttpUriRequest (HttpPost for instance) > 3. execute this

Async client and gzip request : UnsupportedOperationException

2018-07-19 Thread Gabriel Landais
Hi, my scenario : 1. create an entity with an EntityBuilder and use EntityBuilder.gzipCompress() (it will create a GzipCompressingEntity) 2. set entity on a compatible HttpUriRequest (HttpPost for instance) 3. execute this request on a HttpAsyncClient 4. EntityAsyncContentProducer.produceContent