public TfsHttpClientHandler(TfsHttpRequestSettings settings)
            {
                this.AllowAutoRedirect        = false;
                this.ClientCertificateOptions = ClientCertificateOption.Automatic;
                this.ExpectContinue           = settings.ExpectContinue;
                this.PreAuthenticate          = false;
                this.UseCookies            = false;
                this.UseDefaultCredentials = false;
                this.UseProxy = true;

                if (settings.CompressionEnabled)
                {
                    this.AutomaticDecompression = DecompressionMethods.GZip;
                }
            }
 /// <summary>
 /// Initializes a new <c>TfsHttpMessageHandler</c> instance with the specified credentials and request
 /// settings.
 /// </summary>
 /// <param name="credentials">The credentials which should be used</param>
 /// <param name="settings">The request settings which should be used</param>
 public TfsHttpMessageHandler(NetworkCredential credentials, TfsHttpRequestSettings settings)
 {
     this.Credentials  = credentials;
     this.Settings     = settings;
     this.innerHandler = new TfsHttpClientHandler(settings);
 }
 /// <summary>
 /// Initializes a new <c>TfsHttpMessageHandler</c> instance with the specified credentials and request 
 /// settings.
 /// </summary>
 /// <param name="credentials">The credentials which should be used</param>
 /// <param name="settings">The request settings which should be used</param>
 public TfsHttpMessageHandler(NetworkCredential credentials, TfsHttpRequestSettings settings)
 {
     this.Credentials = credentials;
     this.Settings = settings;
     this.innerHandler = new TfsHttpClientHandler(settings);
 }
            public TfsHttpClientHandler(TfsHttpRequestSettings settings)
            {
                this.AllowAutoRedirect = false;
                this.ClientCertificateOptions = ClientCertificateOption.Automatic;
                this.ExpectContinue = settings.ExpectContinue;
                this.PreAuthenticate = false;
                this.UseCookies = false;
                this.UseDefaultCredentials = false;
                this.UseProxy = true;

                if (settings.CompressionEnabled)
                {
                    this.AutomaticDecompression = DecompressionMethods.GZip;
                }
            }