Firefox 3 CORS XMLHTTPRequest doesn't seem to work
问题 I implemented a REST service, which I'm calling from a javascript application on a different domain. I'm attempting to do a GET request, and setting the Authorization: header, with a custom authentication scheme. Because I'm setting a custom header, Firefox will start with a preflight OPTIONS request. This request looks like this (simplified): OPTIONS /v1/articles HTTP/1.1 Host: example.org User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10