globocom/tornado-cors — pull request #8 by cshoe (2014-12-19 02:00:43+00:00)
Title: Only add ``Access`` headers when ``Origin`` present.

According to the spec, an ``Origin`` header doesn't necesarrily mean a
request is a CORS request **but** every CORS request will have an
``Origin`` header.

From the [spec](http://www.w3.org/TR/cors/):

For "simple" CORS requests and "preflight" requests:

>If the Origin header is not present terminate this set of steps. The request is outside the scope of this specification.