title: How do you set the header to "Accept" application/json in dojo.store.JsonRest when putting or posting?
body: <p>How do you set the header "Accept" value to application/json in  dojo.store.JsonRest when putting or posting?</p>
  
  <pre><code>var dataStore = new dojo.store.JsonRest({
      target : "/project-services/"
  });
  
  dataStore.put({id: 10, field1: "Some Value", field2: "Other Value"});
  </code></pre>
  
  <p>The header sent is currently:</p>
  
  <p>Accept  text/html,application/xhtml+xml,application/xml;q=0.9,<em>/</em>;q=0.8</p>