RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
HTTPApp.StatusString Function

Returns the explanatory string associated with one of the predefined HTTP response status codes.

Pascal
function StatusString(StatusCode: Integer): string;
C++
AnsiString StatusString(int StatusCode);

HTTPApp

The HTTP protocol specification defines a number of standard status codes that indicate the status of an HTTP request message. HTTP applications interpret these status codes, but for human beings, each of these codes has a corresponding string that provides a more understandable indication of the status of the HTTP request. 

Call StatusString to obtain the string that corresponds to a standard status code. If the StatusCode parameter is not one of the codes defined in the HTTP standard, StatusString returns an empty string. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!