title: How can I set the content-type of XDomainRequest object?
body: <p>for XMLHttpRequest it is pretty easy:</p>
  
  <pre><code>var xhr = new XMLHttpRequest();
  xhr.open('POST', MyUrl, true);
  xhr.setRequestHeader('Content-Type', 'application/json')
  </code></pre>
  
  <p>But how do I achieve this for XDomainRequest?</p>