title: How to send JSON in C# with DataContractJsonSerializer without charset?
body: <p>I use <code>DataContractJsonSerializer</code> and <code>StringContent</code> to send JSON to a web service:</p>
  
  <pre><code>DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(Employee));
  MemoryStream ms = new MemoryStream();
  serializer.WriteObject(ms, employee);
  ms.Position = 0;
  StreamReader sr = new StreamReader(ms);
  StringContent jsonContent = new StringContent(sr.ReadToEnd(),
                                 System.Text.Encoding.UTF8, "application/json");
  // later I do HttpClient.PostAsync(uri, jsonContent)
  </code></pre>
  
  <p>This results in this Content-Type header:</p>
  
  <pre><code>Content-Type: application/json; charset=utf-8
  </code></pre>
  
  <p>Is it possible to leave off the <em>charset</em> and just have the following header?</p>
  
  <pre><code>Content-Type: application/json
  </code></pre>
  
  <p>I don't see an overload on <code>StringContent</code> which does this.</p>