normalizeScheme

open override fun normalizeScheme(): Url

Return an equivalent URL with a lowercase scheme component. This aligns the Url with Android best practices for intent filtering.

For example, "HTTP://www.android.com" becomes "http://www.android.com"

This method does not validate bad URL's, or 'fix' poorly formatted URL's - so do not use it for input validation. A Url will always be returned, even if the Url is badly formatted to begin with and a scheme component cannot be found.

Return

normalized Url