On Fri, 2009-03-13 at 12:59 -0700, icet wrote: > Should I use consumeEntity whenever I want to use the same client to perform > more than one sequential request? >
(1) What do you mean by consumeEntity? Do you mean HttpEntity#consumeContent? For detailed explanation of the HttpEntity#consumeContent method see the 'Ensuring release of low level resources' section of the HttpClient tutorial http://wiki.apache.org/HttpComponents/HttpClientTutorial (2) You should _always_ reuse the HttpClient instance. Oleg > Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org