It's unclear why this isn't handled by default, but here is my StackOverflow post that answered a lot of my questions about how to implement proper CORS support including how to handle Pre-Flight OPTIONS requests.

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.