synapsestudios/synapse-base — pull request #135 by paulstatezny (2014-11-03 22:35:51+00:00)
Title: Perform CORS handling when responding to Symfony HTTP Exceptions

## Perform CORS handling when responding to Symfony HTTP Exceptions

Currently, the responses given in [Synapse\Application\Routes](https://github.com/synapsestudios/synapse-base/blob/master/src/Synapse/Application/Routes.php) aren't caught by the CORS middleware. This results in inappropriate console errors.

### Acceptance Criteria
1. Responses given in #133 in response to various Symfony Http Exceptions return appropriate CORS header. (`Access-Control-Allow-Origin`, `Access-Control-Allow-Credentials`, possibly others)

### Tasks
- Determine if CORS library can handle it.
- If not, manually add header(s).

### Additional Notes
- [CORS Library](https://github.com/jdesrosiers/silex-cors-provider/blob/d157466a40bd615f8cbc7158e930118f7e69a772/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php)