On Wed, 2010-12-01 at 17:49 +0100, Joan Balaguero wrote:
> Hello,
> 
>  
> 
> The entity.consumeContent() method is deprecated in 4.0.3. What must we use
> instead of it?
> 
>  
> 
> Currently we’re using this method to be sure that the content is consumed
> and connection is released. And it’s working ok.
> 
>  
> 
> Thanks,
> 
> Joan.
> 
>  
> 

Joan

HttpEntity#consumeContent() has been deprecated in the 4.1 branch of
HttpCore. HttpClient 4.0.3 ships with HttpCore 4.0.1 per default, so I
assume you have manually upgraded HttpCore version to 4.1 

As of version 4.1 one should be using EntityUtils#consume() instead.

Hope this helps

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to