codeforamerica / denver-schedules-api

An api for city events & schedules.
MIT License
7 stars 5 forks source link

Enable CORS #7

Closed gregoryjscott closed 10 years ago

gregoryjscott commented 10 years ago

This enables Cross Origin Resource Sharing (CORS) on the API. This will allow most browsers to make cross domain requests without needing to resort to JSONP (which is limited due to security concerns).

There's definitely some opportunity to DRY up the tests but I didn't go there.

boonrs commented 10 years ago

:shipit:

The browsers that don't support CORS are not a priority.