title: How to force HttpClient to follow HTTPS -> HTTP redirect?
body: <p>I need to perform an HTTP GET operation while following redirects.</p>
  
  <pre><code>using (var client = new HttpClient())
  {
      var response = await client.GetAsync("https://example.com");
  }
  </code></pre>
  
  <p>Problem is that if the server returns a 302 HTTP code redirecting to <code>http://...</code> (not <code>https</code>), .NET does not follow it (for security reasons).</p>
  
  <p>How do I force <code>HttpClient</code> to follow redirects from HTTPS to HTTP?</p>