Host (HttpRequest property): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (1 revision) |
(No difference)
|
Revision as of 01:17, 15 June 2011
<section begin=dpl_desc/><section end=dpl_desc/>
This property identifies the Internet site name or IP address of the target web server for the HTTP request. You set the target host by assigning a value to Host, and you fetch its value by referencing it without any parameters.
Syntax
%httpreq:Host = hostname %curr = %httpreq:Host
Syntax terms
%httpreq | An instantiated HTTPRequest object. |
---|---|
hostname | A string expression identifying the host by either full domain name or IP number. If left unset, it defaults to “127.0.0.1” (the Internet loopback address, which points to the host on which you are running). |
%curr | The string or longstring variable for the assignment of the current value of Host. |