|
楼主 |
发表于 2016-9-18 10:55:23
|
显示全部楼层
HttpHelper _http = new HttpHelper();
HttpItem item1 = new HttpItem()
{
URL = "https://signin.ebay.com/ws/eBayISAPI.dll?SellItem",
Method = "get",
ResultType = ResultType.Byte,
UserAgent = "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0",
Referer = @"http://www.ebay.com/",
Accept = "text/html, application/xhtml+xml, */*",
ContentType = "application/x-www-form-urlencoded",
ProxyIp = proxyIp,
};
HttpResult result = _http.GetHtml(item1);
string cookie1 = result.Cookie;
string loginhtml = result.Html;
返回的 loginhtml 就是 服务器提交了协议冲突. Section=ResponseStatusLine。 |
|