Firefox makes an OPTIONS request you don't expect
If some AJAX functionality does not work, but you see Firefox making an OPTIONS
request, the reasons is most likely this:
You're accidently trying to talk to a different domain (or switching from http
to https
), and Firefox tries to find out if that is okay, according to the "Cross-Origin Resource Sharing" standard.