On Wed, 2011-08-31 at 17:42 -0500, Jacob Williams wrote:
> In HttpClient 3 HttpMethod provides a releaseConnection method. An OAuth
> library I'm working with (http://oauth.googlecode.com/svn/code/java/) uses
> HttpMethod but doesn't provide a way of invoking releaseConnection. As a
> workaround I'm using getResponseBodyAsStream().close() (even though I don't
> need the response body). This seems to work but I'm not sure why - anyone
> know if that's a normal/reliable way of releasing the connection?
> 

No, it is not. It is neither normal nor reliable.

Oleg



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

Reply via email to