A failed preflight request returns 400 or 404 with none error message. It is hard to debug from client. CORS Spec does not define what we can put in error preflight response's body [1].
Consider add HttpError message to preflight response. Through which user can control the level of information intent to expose.
[1] http://www.w3.org/TR/cors/#resource-preflight-requests
Consider add HttpError message to preflight response. Through which user can control the level of information intent to expose.
[1] http://www.w3.org/TR/cors/#resource-preflight-requests