title: DELETE becomes OPTIONS?
body: <p>This script (executed in browser):</p>
  
  <pre><code>$(function(){
      $.ajax("http://localhost:3000/rest/room/7", {
          type: "DELETE",
          success: function(data, statusText, jqXHR){
              $("p").text("complete, " + statusText + ", " + data.status + "    data=" + JSON.stringify(data) + "    jqXHR=" + JSON.stringify(jqXHR));
          },
          complete: function(data, statusText, jqXHR){
              $("p").text("complete, " + statusText + ", " + data.status + "    data=" + JSON.stringify(data) + "    jqXHR=" + JSON.stringify(jqXHR));
          }
      });
  });
  </code></pre>
  
  <p>and this Express route def:</p>
  
  <pre><code>app.delete('/rest/room/:id', function(req, res){
      res.json(JSON.stringify(findings[0]));
  });
  </code></pre>
  
  <p>just gets me this in the browser:</p>
  
  <pre><code>complete, error, 404 data={"readyState":4,"status":404,"statusText":"error"} jqXHR=undefined
  </code></pre>
  
  <p>and this console output (using PhpStorm IDE):</p>
  
  <pre><code>OPTIONS /rest/room/7 200 1ms - 4.51kb
  </code></pre>
  
  <p>Why does a 'DELETE' request become an 'OPTIONS' request? What am I missing?</p>