ergodic 7 <[EMAIL PROTECTED]> wrote on 31.01.2005 14:42:27:

> If the server returns a 404 error must the response
> still be complete read prior to reuse?

Yes, sure. Most error returns come with a small HTML
error page that must be skipped. The end of the current
response always has to be found before re-using the
connection, and reading until the end is the only way
to do that.

But it is not the application's responsibility to read
the response body if it is not interested. HttpClient
will automatically read the rest of the response when
the connection is released, if I'm not mistaken.

cheers,
  Roland

Reply via email to