URL
Provides with an Url parser that deconstructs an url into a managable object and back to a string.
Examples:
url = ; var u = url; uhosthostname = 'database.kaerus.com' uhostpassword = 'secret'; uhostport = 8529; uqueryparts; u; // 'http://user:secret@database.kaerus.com:8529/login?x=42&a=13'
UrlParser()
@class UrlParser
ret.host
Host attributes
host: protocol: String username: String password: String hostname: String port: String
ret.path
Path information
path: base: String // base path without hash name: String // file or directory name hash: String // the #hash part in path
ret.query
Query parameters
query: parts: Array // query segments ['a=3','x=2'] params: Object // query parameters {a:3,x:2}