astaxie/beego — pull request #928 by lei-cao (2014-11-20 17:42:41+00:00)
Title: Return the response directly if it's a options PreflightHeader request

If it's a Preflighted requests, return the response directly after the preflight headers are set.

Prevented the options method in the requested controlled been called.