func NormalizeURL(inputUrl string) (string, error) {
	parsedUrl, err := url.Parse(inputUrl)
	if err != nil {
		return "", err
	}

	host := normalizeHost(parsedUrl.Scheme, parsedUrl.Host)
	normalizedUrl := fmt.Sprintf(
		"%v://%v%v", parsedUrl.Scheme, host, parsedUrl.Path)
	return normalizedUrl, nil
}
// Normalize the URL according to OAuth specs.
Normalize the URL according to OAuth specs.
// Normalize the URL according to OAuth specs .
func NormalizeURL(inputUrl string) (string, error) {
	parsedUrl, err := url.Parse(inputUrl)
	if err != nil {
		return "", err
	}
	host := normalizeHost(parsedUrl.Scheme, parsedUrl.Host)
	normalizedUrl := fmt.Sprintf(
		"%v://%v%v", parsedUrl.Scheme, host, parsedUrl.Path)
	return normalizedUrl, nil
}
func NormalizeURL ( inputUrl string ) ( string , error ) { parsedUrl , err := url . Parse ( inputUrl ) if err != nil { return " " , err } host := normalizeHost ( parsedUrl . Scheme , parsedUrl . Host ) normalizedUrl := fmt . Sprintf ( " " , parsedUrl . Scheme , host , parsedUrl . Path ) return normalizedUrl , nil }
Normalize the URL according to OAuth specs.
Normalize the URL according to OAuth specs .