Having some annoying issues making AJAX calls simply because almost every browser these days is making an OPTIONS call to the server before the actual AJAX call.
Since I am using Play! 2.0, is there any easy way to make a wildcard response to any route using the OPTIONS method?
For instance, in my routes do something like:
OPTIONS /* controllers.Options.responseDef
Yes I am aware that the new Play! doesn't have a wildcard built-in, but there needs to be a solution for this since all browsers are increasingly calling OPTIONS before AJAX calls.