zaphpa/zaphpa — pull request #14 by jsgrosman (2012-10-16 20:04:15+00:00)
Title: OPTIONS support + CORS

jquery sends an OPTIONS request before doing a CORS POST. If you are trying to use x-method-override, you need to support returning a 200 for an OPTIONS request along with a Access-Control-Allow-Headers, so that jquery knows that the request is supported