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 calls getContent() on entity
5. GzipCompressingEntity.getContent() throws UnsupportedOperationException

Two questions :

1. Why GzipCompressingEntity.getContent doesn't simply return new
GZIPInputStream(wrappedEntity.getContent())?
2. Sould I open a bug for this or I missed something?

Thanks!
Gabriel

Reply via email to