danielwhite/cowboy_cors — pull request #5 by danielwhite (2013-07-28 11:15:01+00:00)
Title: Fix pre-flight request handling

This resolves the problem where the OPTIONS pre-flight request is being passed to a handler. This request is intended as a handshake to confirm the ability to make cross-origin requests. In the case where the client is making an OPTIONS request, it will be preceded by a pre-flight OPTIONS request.