日期:2014-05-18  浏览次数:20951 次

关于myHttpWebRequest.ContentType
在查阅msdn中
myHttpWebRequest.ContentType = "application/x-www-form-urlencoded";
想问这个属性依照什么取?

------解决方案--------------------
Method为post的时候用的,用以模仿表单提交
ContentType 是国际标准规定的
------解决方案--------------------
工具:HTTPAnalyzer