Web.HTTPApp.TWebResponse.ReasonString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReasonString: AnsiString index 1 read GetStringVariable write SetStringVariable;

C++

__property System::AnsiString ReasonString = {read=GetStringVariable, write=SetStringVariable, index=1};

Properties

Type Visibility Source Unit Parent
property public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebResponse

Description

Indicates the status of the response to the web client request as a human-readable string.

Set ReasonString to inform the human web client of the success or failure of the HTTP request message. Each reason string is associated with a 3-digit status code whose value indicates the status of the response. The HTTP standard defines a number of stock status codes and corresponding reason strings. In addition, server applications can define new reason strings and associate them with unused status codes.

See Also