是否可以添加一个带有 value = blank/missing 的标题?
HttpRequestMessage.Headers.Add("header-name", string.Empty);
System.FormatException was unhandled by user code
HResult=-2146233033
Message=The format of value '' is invalid.
Source=System.Net.Http
StackTrace:
at System.Net.Http.Headers.HttpHeaderParser.ParseValue(String value, Object storeValue, Int32& index)
at System.Net.Http.Headers.HttpHeaders.ParseAndAddValue(String name, HeaderStoreItemInfo info, String value)
at System.Net.Http.Headers.HttpHeaders.Add(String name, String value)
at