url.format(urlObj)
Take a parsed URL object, and return a formatted URL string.
Here's how the formatting process works:
href will be ignored.
path will be ignored.
protocol is treated the same with or without the trailing : (colon).The protocols http, https, ftp, gopher, file will be postfixed with :// (colon-slash-slash) as long as host/hostname are present. All other protocols mailto, xmpp, aim, sftp, foo, etc will be postfixed with : (colon).
slashes set to true if the protocol requi