觸發(fā)這個(gè)問題的C#代碼如下:
var webReqeust = WebRequest.Create(ApiUrl);
webReqeust.Method = "DELETE";
using (var response = webReqeust.GetResponse()) { }
錯(cuò)誤信息:
System.Net.WebException: 服務(wù)器提交了協(xié)議沖突. Section=ResponseStatusLine
在 System.Net.HttpWebRequest.GetResponse()
英文錯(cuò)誤信息:
The server committed a protocol violation. Section=ResponseStatusLine
+ System.Net.HttpWebRequest.GetResponse()
請(qǐng)問如何解決?
- 1 回答
- 0 關(guān)注
- 1468 瀏覽
添加回答
舉報(bào)
0/150
提交
取消