Internet Direct (Indy) Version 9.0.2 Beta
|
procedure Options(AURL: string); overload;
When AURL contains the value '*' (Asterisk), the Options Request applies to all resources on the HTTP server. Since server communication options typically depend on the resource, the "*" request is only useful as a "ping" or "no-op" type of Request. For example, this can be used to test a proxy for HTTP/1.1 compliance. When AURL contains a valid server resource, the Request applies only to that target.
Response will contain the ResponseCode 200, and header information that indicates optional features implemented by the server and applicable to the resource.
Options calls the DoRequest method to perform the HTTP transfer for the Request.