Name

URL::Parse — Tokenize URL

Synopsis

Import URL;
map URL::Parse ( string  url );

Parameters

string url

URL to be parsed

Return Value

map

URL split to tokens

Examples

  Parse("http://name:pass@www.suse.cz:80/path/index.html?question#part") ->
     $[
         "scheme"  : "http",
         "host"    : "www.suse.cz"
         "port"    : "80",
         "path"    : /path/index.html",
         "user"    : "name",
         "pass"    : "pass",
         "query"   : "question",
         "fragment": "part"
     ]