Amazon.Runtime.Internal.Auth.AWS3Signer.GetCanonicalizedResourcePath C# (CSharp) Method

GetCanonicalizedResourcePath() private static method

private static GetCanonicalizedResourcePath ( Uri endpoint ) : string
endpoint System.Uri
return string
        private static string GetCanonicalizedResourcePath(Uri endpoint)
        {
            string uri = endpoint.AbsolutePath;
            if (string.IsNullOrEmpty(uri))
            {
                return "/";
            }
            else
            {
                return AWSSDKUtils.UrlEncode(uri, true);
            }
        }