Name
url:GetURL -- get URL part of URL (V2.0)
Synopsis
url$ = url:GetURL([flags])
Function
Gets the URL from the specified URL object. When asked to return the full URL, curl will return a normalized and possibly cleaned up version of what was previously parsed. We advise using the #CURLU_PUNYCODE option to get the URL as "normalized" as possible since IDN allows host names to be written in many different ways that still end up the same punycode version.

The optional flags parameter can be a combination of flags as described in the documentation of the hurl.URL() function. See hurl.URL for details.

Inputs
flags
optional: combination of flags
Results
url$
URL part of URL

Show TOC