触发这个问题的C#代码如下:
var webReqeust = WebRequest.Create(ApiUrl);
webReqeust.Method = "DELETE";
using (var response = webReqeust.GetResponse()) { }
错误信息:
System.Net.WebException: 服务器提交了协议冲突. Section=ResponseStatusLine
在 System.Net.HttpWebRequest.GetResponse()
英文错误信息:
The server committed a protocol violation. Section=ResponseStatusLine
+ System.Net.HttpWebRequest.GetResponse()
请问如何解决?
添加回答
举报
0/150
提交
取消