Url-Auth

(url-auth url or http-url) -> string or #f

This returns the "authority" of the given <url> or <http-url>. If specified, this may contain: Host, Port, User name and password.

Example:

>> testurl
:: [http-url #f "www.google.com" 80 ("search") [dict ("client" . "firefox-a")
("ie" . "utf-8") ("oe" . "utf-8") ("q" . "MOSREF Ephemeral Security")
("rls" . "org.mozilla:en-US:official") ("start" . "0")] #f]
>> (url-auth testurl)
:: "www.google.com:80"