title: HttpClient Authorization Header Invalid Format
body: <p>When I try to make a <code>GET</code> request with the address and Authorization value below, I have no problems.</p>
  
  <p>Address: <a href="http://example.com/xyz.svc/branches/?latitude=0&amp;longitude=0&amp;range=20000" rel="noreferrer">http://example.com/xyz.svc/branches/?latitude=0&amp;longitude=0&amp;range=20000</a></p>
  
  <p>Header Key:  Authorization</p>
  
  <p>Value:       example;foo</p>
  
  <p>When I try it with <code>HttpCLient</code> I get format invalid error for the authorization header value</p>
  
  <p>This is how I tried</p>
  
  <pre><code>HttpClient client = new HttpClient();
  
      string latitude = "0";
      string longitude = "0";
      string range = "2000";
  
      string uri = "/xyz.svc/branches/?latitude=0&amp;longitude=0&amp;range=20000;
  
      string value = "foo";
  
      client.BaseAddress = new Uri("http://example.com");
      client.DefaultRequestHeaders.Accept.Clear();
      client.DefaultRequestHeaders.Accept.Add(
          new MediaTypeWithQualityHeaderValue("application/json"));
      client.DefaultRequestHeaders.Add("Authorization", String.Format("example;{0}", value));
  
      HttpResponseMessage response = await client.GetAsync(uri);
  
      var responseJson = await response.Content.ReadAsStringAsync();
  
      Console.WriteLine(responseJson);
  </code></pre>
  
  <p>What am I doing wrong?</p>