static private GetHeadHttpRequest ( IClientConfig config, string url ) : |
||
config | IClientConfig | |
url | string | |
return |
internal static HttpWebRequest GetHeadHttpRequest(IClientConfig config, string url)
{
var httpRequest = WebRequest.Create(url) as HttpWebRequest;
httpRequest.Method = "HEAD";
SetProxyIfAvailableAndConfigured(config, httpRequest);
return httpRequest;
}