Identifies the target of the HTTP request on the server identifed by HTTP.host. This could be a file you want to retrieve, a CGI script you want to execute, etc.
First available in version 3.0 build 2039.
resource - The target of the HTTP request, assumed to be a relative reference from ("/") the root of the host.
No output parameters.
When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.
HTTP is used to request resources, not just files. A resource is some parcel of information that can be identified by a URL (it's the "R" in URL). The most common kind of resource is a file, but a resource may also be a dynamically-generated query result, the output of a CGI script, or something else. It may help to think of a resource as similar to a file, but more general. As a practical matter, almost all HTTP resources are currently either files or server-side script output.