title: body is empty when parsing DELETE request with express and body-parser
body: <p>I'm using expressjs and the body-parser middleware.</p>
  
  <p>This is how I initiate it:</p>
  
  <pre><code>app.use(bodyParser.urlencoded({ extended: true }));
  app.use(bodyParser.json());
  </code></pre>
  
  <p>From the client I'm sending a DELETE request and when I try to pick it up from the server side I get an empty object:</p>
  
  <pre><code>app.delete('/', function(req, res) {
      console.log(util.inspect(req.body)); //outputs {}
      //some more code
  });
  </code></pre>
  
  <p>however when I send it with a POST I get what I need:</p>
  
  <pre><code>app.post('/delete', function(req, res) {
      console.log(util.inspect(req.body)); //outputs { mid: 'ffw1aNh2' }
      //some more code
  });
  </code></pre>
  
  <p>It is worth noting that I don't change anything on the client side (angularjs) but the method and the url and the firefox network debugger shows the data being sent in both situations.</p>
  
  <p>What am missing here? Why am I getting an empty body object on a delete method?</p>