Returns descriptive text for HTTP status codes.
Source position: httpprotocol.pp line 163
function GetHTTPStatusText( |
ACode: Cardinal; |
aUppercase: Boolean = False |
):string; |
ACode |
|
The HTTP status code number. |
aUppercase |
|
Whether to return uppercase text. |
The descriptive text for the status code.
Converts numeric HTTP status codes (100-599) to their standard descriptive text. Supports all common HTTP status codes including informational, success, redirection, client error, and server error responses. Returns "Unknown status: XXX" for unrecognized codes.