Topic Path: Symbol Reference > Classes > TIdHTTPResponse Class > TIdHTTPResponse Properties > ResponseCode Property
TIdHTTPResponse.ResponseCode Property

Indicates the numeric response code in an HTTP response.

property ResponseCode: Integer;

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

ResponseCode is updated when a request is executed using TIdHTTP.DoRequest, and when the TIdHTTPProtocol protocol handler processes an HTTP response to to examine state-dependt values during HTTP protocol exchanges.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.