title: Not able to send a DELETE request with fetch api
body: <p>When I send a delete request to a certain endpoint, for example with <a href="https://github.com/jkbrzt/httpie" rel="nofollow noreferrer" title="httpie">httpie</a> from terminal like</p>
  
  <p><code>http delete http://localhost:8181/admin/applications/uspecs</code></p>
  
  <p>I get a valid behavior, as in <code>{ success: true }</code> as response body.
  But when I do </p>
  
  <pre><code>fetch (
    'http://localhost:8181/admin/applications/uspecs',
    { method: 'DELETE' }
  )
  .then(res =&gt; doSomethingWithResponse())
  .catch(err =&gt; console.error(err))
  </code></pre>
  
  <p>In javascript code, then I get a </p>
  
  
  
  <pre><code>Fetch API cannot load http://localhost:8181/admin/applications/uspecs.
  Method DELETE is not allowed by Access-Control-Allow-Methods in preflight response.
  </code></pre>
  
  <p>error on the console. What am I missing? I am getting a valid methods list on options request.</p>