/jakarta-commons/httpclient/?only_with_tag=HTTPCLIENT_2_0_BRANCH
Oleg
-Original Message-
From: Paulo Gaspar [mailto:paulo.gaspar]
Sent: Tue 5/11/2004 17:13
To: Commons HttpClient Project
Cc:
Subject:Re: Problems with HttpClient
> ...
> Do not use HttpMeth
> ...
> Do not use HttpMethodBase#getResponseBody or
> HttpMethodBase#getResponseBodyAsString methods. They are plain broken.
> Both methods are made to ignore I/O errors and return null instead of
> propagating IOException-s to the caller.
> ...
When did that happen?
That is not what I see on the
Anoop,
My guess is that some of the methods simply timeout while reading the
response from the server. Unfortunately, HttpClient does not handle this
situation well. Do not use HttpMethodBase#getResponseBody or
HttpMethodBase#getResponseBodyAsString methods. They are plain broken.
Both methods are