Web.HTTPApp.TWebRequest.PathInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PathInfo: string index 4 read GetStringVariable;

C++

__property System::UnicodeString PathInfo = {read=GetStringVariable, index=4};

Properties

Type Visibility Source Unit Parent
property public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebRequest

Description

Reports the value of the path information (if any) of the URL specified in the HTTP request message.

Read PathInfo to determine the path on the server machine where the target of the request is found. For example, given this URL:

http://www.TSite.com/art/gallery.cgi/mammals?animal=dog&color=black

the PathInfo portion is

/mammals

The TWebDispatcher object uses the PathInfo to identify the appropriate TWebActionItem for servicing the request message.

See Also