title: jquery 1.4.4 send accept header exactly as 'application/json'
body: <p>The third party service I'm using is very particular. I'm trying to set the accepts header to </p>
  
  <pre><code>Accept: application/json
  </code></pre>
  
  <p>But jquery 1.4.4 won't send just that. It keeps sending a variation, i.e.:</p>
  
  <pre><code>Accept: */*, application/json
  </code></pre>
  
  <p>I've tried a few variations, i.e. the one below. How can I get it to send just 'Accept: application/json' in the accepts header?</p>
  
  <pre><code>jQuery.ajax({
      url: "/rest/cms.country",
      beforeSend: function (xhr) { xhr.setRequestHeader('Accept', 'application/json'); },
      contentType: "application/json; charset=utf-8",
      type: 'get',
      success: function () {
          console.log('success');
      },
      error: function (jqXHR, textStatus, errorThrown) {
          console.log('error' + errorThrown);
      }
  });
  </code></pre>