title: Properly changing HttpClient headers for different calls in C#?
body: <p>I'm writing a program that makes POST and GET calls asynchronously. The issue I'm running into is that each POST and GET sometimes have different headers/host parameters. </p>
  
  <p>I have HttpClient initialized outside my main() class and inside my main class I have the following,</p>
  
  <pre><code>client.DefaultRequestHeaders.Add("Host", "website1.com");
  </code></pre>
  
  <p>and for another GET/POST request I want to have website2 in the HOST parameter,</p>
  
  <pre><code>client.DefaultRequestHeaders.Add("Host", "website2.com");
  </code></pre>
  
  <p>but they collide and it's throwing an error because it already exists. What's the proper way to approach this? </p>