Ivan Tam Ivan Tam
This will let CORS requests be marked as a simple request and
therefore not require a preflight request.

While Chrome was using text/plain as the content-type, Safari defaults
to application/xml and therefore forcing a non-simple CORS request.