string url = @"http://speedtest.ukrtelecom.ua/getIP.php?r=0.023263723232644917";
string proxy = "";
string UserAgent = project.Profile.UserAgent;
string[] headers = new[]{ "zennolab: test" };
string del = ZennoPoster.HTTP.Request(
method: ZennoLab.InterfacesLibrary.Enums.Http.HttpMethod.DELETE,
url: url,
content: string.Empty,
contentPostingType: string.Empty,
proxy: proxy,
Encoding: "UTF-8",
respType:ZennoLab.InterfacesLibrary.Enums.Http.ResponceType.HeaderAndBody,
Timeout: 30000,
Cookies: string.Empty,
UserAgent: UserAgent,
UseRedirect: false,
MaxRedirectCount: 0,
AdditionalHeaders: headers,
DownloadPath: null,
UseOriginalUrl: true,
throwExceptionOnError: true,
cookieContainer: project.Profile.CookieContainer,
removeDefaultHeaders: true // Удаляем стандартные заголовки
);
return del;