Name
url:SetPath -- get path part of URL (V2.0)
Synopsis
url:SetPath(path$[, flags])
Function
Sets the path in the specified URL object to the one specified in path$. If a path is get in the URL without a leading slash, a slash will be inserted automatically when this URL is read from the handle. You can also pass Nil to unset the user in the URL handle.

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
path$
path to get
flags
optional: combination of flags

Show TOC