I'm trying to make several CORS requests (PUT, GET, POST). The requests are working fine in Chrome and Safari. The options are rejected, but the other requests go through.
Below is my search function. Chrome and Safari invoke the callback with the returned data:
function Search (q, fn,){
console.log(q)
$.ajax({
url: sumeURL+q,
dataType: 'json',
headers: headers
}).done(function(data){
fn(data);
});
}
FireFox is logging the query string, so I know it is reading the AJAX call (I deleted my earlier question because I thought maybe FireFox was choking on something before it got to the AJAX - it did not).
I am using FireBug and the Net
tab is not showing either the OPTIONS of GET requests from this Search function.
I've looked at this SO question, but I need to do this for production not development, so a Browser add on is not a good option.
What conditions would make FireFox refuse to send the request, but not matter to Chrome or Safari?
If you need me to post access control data from the server, LMK.