Back to product page

URI property


Holds full path of requested resource.

Type

String

Syntax

  • Basic
object.URI [= value]
The URI(object,value) syntax has these parts:
objectAn expression evaluating to an object of type WebRequest
valueA String value.

Remarks

URI holds location of the resource as requested by the client. It contains complete path and page name of the resource, but without information about the protocol, hostname (URLs contains these), or variables provided after resource path. URI cannot be blank - if not specified by the client, wodWebServer will replace it with /.

URI property is parsed to Path and PageName (or FullURI containing both Path, PageName and any arguments sent in the URL) properties which may be easier to use.

When wodWebServer works with Response.Delivery = Automatic, and client requests to access server's default page '/', wodWebServer will convert this request to '/index.htm' which is used as default page in each directory. Example for URI is /index.htm, /users/joe.zip, /order/payment.cgi

Platforms

Windows