却能问题如下
//1.ResultCookieType.CookieContainer增加多纬度Cookie参数
//2.Expect100Continue默认值由True修改为False
1.增加一个属性CookieContainer 可以让大家更自由的来处理Cookie
代码如下
[C#] 纯文本查看 复制代码 HttpHelper http = new HttpHelper();
HttpItem item = new HttpItem()
{
URL = "http://www.sufeinet.com",//URL 必需项
Method = "GET",//URL 可选项 默认为Get
ResultCookieType = ResultCookieType.CookieContainer,
CookieContainer = new CookieContainer()//实际大家要写成自己的Cookie
};
HttpResult result = http.GetHtml(item);
string html = result.Html;
string cookie = result.Cookie;
2.Expect100Continue默认值由True修改为False
这个要感觉这位楼主的提醒http://www.sufeinet.com/thread-17954-1-1.html
好了更新就到这里,大家快去下载吧http://www.sufeinet.com/thread-9926-1-1.html
|