var url =project.Variables["Url"].Value ;
var proxy = project.Variables["Proxy"].Value;
var cookie = project.Variables["Cookie"].Value;
var userAgent = project.Variables["UserAgent"].Value;
string res = ZennoPoster.HttpGet(url,
proxy,
"windows-1251",
InterfacesLibrary.Enums.Http.ResponceType.HeaderAndBody,
15000,
cookie,
userAgent,
true,
5,
new String[]
{
"Host: www.yandex.ru",
"Connection: keep-alive",
"Upgrade-Insecure-Requests: 1",
"Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4",
"Accept-Encoding: gzip, deflate, sdch",
"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
}
);
project.Variables["response"].Value = res;