bower / registry

The Bower registry
https://registry.bower.io/packages
MIT License
292 stars 66 forks source link

CORS headers #74

Closed fd closed 10 years ago

fd commented 10 years ago

It would be nice is the API send back the CORS headers.

rayshan commented 10 years ago

+1 this will be in the rewrite, currently the stats api endpoint http://stats.bower.io/api/1/data/all returns:

Access-Control-Allow-Headers:X-Requested-With
Access-Control-Allow-Origin:*
Cache-Control:public, max-age=86400
Connection:keep-alive
Date:Mon, 14 Jul 2014 23:00:57 GMT
Etag:W/"ac2e-2501738615"
Expires:Tue, 15 Jul 2014 23:00:57 GMT
Last-Modified:Mon, 14 Jul 2014 14:31:53 GMT