Sends an OPTIONS request to the HTTP/1.1 server. The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI. This method allows the client to determine the options and/or requirements associated with a resource or the capabilities of a server without implying a resource action or initiating a resource retrieval. If the Request-URI is an asterisk ("*"), the OPTIONS request is intended to apply to the server as a whole. An "OPTIONS *" request can be applied through a proxy by specifying the destination server in the Request-URI without any path information.
WebAPI.bdh
WebUrlOptions( in sUrl : string, in fWait : float optional): boolean;
true if the worker thread communicating with the server could be started successfully
false otherwise
Parameter | Description |
---|---|
sUrl | Complete URL to the file on the server |
fWait | Minimum time or minimum mean time that this function call has to last (optional). Default value is 0.0 |
dcltrans transaction TWebGetOptions begin WebUrlOptions("http://standardhost/*", 0.0); end TWebGetOptions;
WebHttp11.bdf