| ResolveToAbsoluteURL |
| |
Rewrite an URL to make it absolute |
| |
| Library |
 |
wh::internet/http.whlib |
| |
| Syntax |
 |
PUBLIC STRING FUNCTION ResolveToAbsoluteURL (STRING baseurl,STRING newurl) |
| |
| Description |
 |
This function takes a base url and a relative or absolute URL, and uses these to construct a proper absolute URL |
| |
| Parameters |
 |
| baseurl |
 |
Absolute base URL, to which the new url might be relative |
 |
| newurl |
 |
New URL which must be merged into the base URL |
 |
|
| |
| Returns |
 |
The rewritten absolute URL |
| |