title: Different range request response in Firefox and Chrome
body: <p>I am currently testing some JavaScript that makes a GET request (ie. XMLHttpRequest with "get") with a Range header. Because the request is cross-domain, I'm implementing access control headers in the response as described here:</p>
  
  <p><a href="https://developer.mozilla.org/En/HTTP_access_control#Preflighted_requests" rel="nofollow">https://developer.mozilla.org/En/HTTP_access_control#Preflighted_requests</a></p>
  
  <p>What's confusing me however is that my current server setup is working in Chrome but not in Firefox. Specifically, when I run the JavaScript in Chrome I'm getting back a chunk of the requested data, just like I want. In Firefox however I'm getting error code 501 on request method OPTIONS</p>
  
  <p>At first that seems like the OPTIONS request method needs to be handled by the server, but that works in Chrome so it looks like this is a red herring and something else is wrong. Currently the following response headers are implemented, perhaps this is where the problem lies:</p>
  
  <pre><code>Access-Control-Allow-Headers: Range
  Access-Control-Allow-Origin: *
  </code></pre>
  
  <p>Anyone have any insight in what I need to do? Do Chrome and Firefox handle cross-domain restrictions differently?</p>