用HttpWebRequest做POST请求时返回Http 417 错误解决方法
原因是HttpWebRequest在默认情况下发出请求会添加“Expect: 100-Continue”请求头。解决方案: HttpWebRequest httpWebRequest= httpWebRequest = (HttpWebRequest)HttpWebRequest.Create(url);httpWebRequest.ServicePoint.Expect100C...