Skip to content

Commit da7d122

Browse files
committed
取消MulitpartTextContent对参数值进行编码
1 parent 6f6e7a8 commit da7d122

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WebApiClient/Internal/HttpContents/MulitpartTextContent.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ private static string EncodingValue(string value)
3939
{
4040
return string.Empty;
4141
}
42-
return HttpUtility.UrlEncode(value, Encoding.UTF8);
42+
return value;
43+
//return HttpUtility.UrlEncode(value, Encoding.UTF8);
4344
}
4445
}
4546
}

0 commit comments

Comments
 (0)