title: Why Chrome cancel CORS OPTION request
body: <p>in my app I'm creating AJAX request from HTTP to HTTPS. This means I need CORS. So I add some headers and params to jQuery.ajax and test it. In Firefox everythings works OK, but in Chrome not. Chrome "kill" every preflighed request (OPTIONS).</p>
  
  <p>jQuery script:</p>
  
  <pre><code>$(document).on('click', 'a.ajax', function(e) {
      e.preventDefault();
      $.ajax(this.href, {
          type: 'GET',
          dataType: 'json',
          crossDomain: false,
          headers: {'X-Requested-With': 'XMLHttpRequest'},
          xhrFields: {
              withCredentials: true
          }
      });
      return false;
  });
  </code></pre>
  
  <p>HTTP dump:</p>
  
  <pre><code>&gt; OPTIONS /foo HTTP/1.1
  &gt; User-Agent: curl/7.29.0
  &gt; Host: local.bar.cz
  &gt; Accept: */*
  &gt; Access-Control-Request-Headers:accept, origin, x-requested-with
  &gt; Access-Control-Request-Method:GET
  &gt; Origin:http://local.bar.cz
  &gt; 
  &lt; HTTP/1.1 204
  &lt; Server: nginx/1.2.7
  &lt; Date: Wed, 27 Feb 2013 15:06:54 GMT
  &lt; Content-Type: text/html; charset=utf-8
  &lt; Connection: keep-alive
  &lt; X-Powered-By: Nette Framework
  &lt; X-Frame-Options: SAMEORIGIN
  &lt; Access-Control-Allow-Origin: http://local.bar.cz
  &lt; Access-Control-Allow-Credentials: true
  &lt; Access-Control-Allow-Headers: accept, origin, x-requested-with
  &lt; Access-Control-Allow-Methods: OPTIONS, GET, POST, HEAD
  &lt; 
  </code></pre>
  
  <p>any one knows why chrome kill this request?</p>