觸發這個問題的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
提交
取消