is treated the same with or without the trailing : (colon).
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).
set to true if the protocol requires :// (colon-slash-slash) Only needs to be set for protocols not previously listed as requiring slashes, such as mongodb://localhost:8000/, or if host/hostname are absent.
Parsed URL Object