title: Error in odata.request method with "PUT" option
body: <p>I want to perform update operation on my odata service data.</p>
  
  <p>I have read many things about browser support for put and delete with ajax call.But in my code I can perform method:"DELETE" perfectly.even get and post are done nicely.
  Now when I am doing "put" or "merge", its giving error "HTTP request failed".</p>
  
  <p>Here is my code:</p>
  
  <pre><code> OData.request( 
                  { 
                      requestUri: query, 
                      method:"PUT",
                      data: { UserName: "user3", EmailId: "User2@XYZf",Comments:"qwerty uiopfg" } 
                  }, 
                  function (insertedItem) { 
  
                      $("#doc").append('&lt;div&gt;Done&lt;/div&gt;');
  
                  }
                  , function(err){
  
  
                          $("#doc").append('&lt;div&gt;'+err.message+'&lt;/div&gt;');
  
                          });
  </code></pre>
  
  <p>Edit: can any one give a simple OData.request demo code with method:"PUT" option, which is running properly.</p>