Arno Garrels wrote:
> {code}
> procedure THttpCli.DoRequestSync(Rq : THttpRequest);
> [..]
> {* Jul 12, 2004
> WARNING: The component now doesn't consider 401 status
>as a fatal error (no exception is triggered). This
>required a change in the application code if it was us
Most servers close connections after a short request timeout,
that may happen even after a request has been successfully sent.
Currently THttpCli doesn't handle this case properly, as there
is no error passed to OnRequestDone and THttpCli.DoRequestSync()
doesn't raise an exception which it should