RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebResponse.Allow Property

Lists the HTTP request methods that the application can service.

Pascal
property Allow: AnsiString;
C++
__property AnsiString Allow;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!