title: Is there anything glaringly wrong with my .ajaxSetup jquery call?
body: <p>I am trying to debug some code and get to the bottom of the error.</p>
  
  <p>Is there anything wrong with this:</p>
  
  <pre><code>$.ajaxSetup({ 
  beforeSend: function(xhr) {  
       xhr.setRequestHeader("Accept", "text/javascript"); }
  }); 
  </code></pre>
  
  <p>This is in jQuery by the way.</p>