Re: HttpEntity.writeTo vs. EntityUtils.toByteArray

2009-10-26 Thread Oleg Kalnichevski
Charles François Rey wrote: Hi, I receive gzip-compressed content from a server, and I handle it as suggested in the ClientGZipContentCompression.java example, i.e. via request and response interceptors. This is all working fine. But when using HttpEntity.writeTo(OutputStream) to do somethin

HttpEntity.writeTo vs. EntityUtils.toByteArray

2009-10-26 Thread Charles François Rey
Hi, I receive gzip-compressed content from a server, and I handle it as suggested in the ClientGZipContentCompression.java example, i.e. via request and response interceptors. This is all working fine. But when using HttpEntity.writeTo(OutputStream) to do something with the content, what