RE: Problems with HttpClient

2004-06-04 Thread Kalnichevski, Oleg
/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

Re: Problems with HttpClient

2004-06-04 Thread Paulo Gaspar
> ... > 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

Re: Problems with HttpClient

2004-05-09 Thread Oleg Kalnichevski
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