Internet Direct (Indy) Version 9.0.2 Beta
TIdHTTPResponse.ResponseCode
Indicates the numeric response code in an HTTP response.

property ResponseCode: Integer;
Description
ResponseCode is an Integer property that represents the numeric HTTP response code received in the HTTP response message. Reading the value in ResponseCode cause the numeric return value to be extracted from the textual value in ResponseText.

ResponseCode is updates when a request is executed using TIdHTTP.FoRequest, and when TIdHTTPProtocol.ProcessResponse is used to examine result values for state-dependencies during HTTP protocol exchanges.