NHttp.HttpRequest.ParseContentDispositionItem C# (CSharp) Method

ParseContentDispositionItem() private method

private ParseContentDispositionItem ( string value ) : string
value string
return string
        private string ParseContentDispositionItem(string value)
        {
            if (value.Length == 0)
                return value;

            if (value.Length >= 2 && value[0] == '"' && value[value.Length - 1] == '"')
                value = value.Substring(1, value.Length - 2);

            return HttpUtil.UriDecode(value);
        }