public HttpDownloader(DownloaderArgs downloaderArgs)
            : base(downloaderArgs)
        {
            var httpWebRequest = (HttpWebRequest)WebRequest;

            httpWebRequest.Headers.Add(HttpRequestHeader.AcceptLanguage, downloaderArgs.PreferredLanguages);
            httpWebRequest.UserAgent = UserAgent;
        }
 protected Downloader(DownloaderArgs downloaderArgs)
 {
     if (downloaderArgs == null)
     {
         throw new ArgumentNullException("downloaderArgs");
     }
     _mimeType          = downloaderArgs.MimeType;
     WebRequest         = WebRequest.Create(downloaderArgs.Uri);
     WebRequest.Timeout = downloaderArgs.Timeout;
 }