Web.HTTPApp.TWebResponse.Allow

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Allow: string index 5 read GetStringVariable write SetStringVariable;

C++

__property System::UnicodeString Allow = {read=GetStringVariable, write=SetStringVariable, index=5};

Properties

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

Description

Lists the HTTP request methods that the application can service.

Use Allow to indicate what type of request methods the server application can respond to for the URI specified by HTTPRequest. Allow is a string of method names, separated by commas. The method names can include any pre-defined methods from the HTTP standard, or any additional methods implemented by the server application. At a minimum, the TWebResponse object must allow GET and HEAD requests.

See Also