> I was getting a response from an HTTP Server where the Status was
> set to 0 (instead of 1xx-5xx). This was causing an exception in
> my application.
>
> Although this is an error on the server side, shouldn't the code
> be changed from:
>
> procedure THttpCli.GetHeaderLineNext;
> [...]
>
I was getting a response from an HTTP Server where the Status was set to 0
(instead of 1xx-5xx). This was causing an exception in my application.
Although this is an error on the server side, shouldn't the code be changed
from:
procedure THttpCli.GetHeaderLineNext;
[...]
FStatusCode :=