Skip to content

fixes bug 924965 - enable CORS on the API#1571

Merged
lonnen merged 1 commit intomozilla-services:masterfrom
peterbe:bug-924965-enable-cors-on-the-api
Oct 9, 2013
Merged

fixes bug 924965 - enable CORS on the API#1571
lonnen merged 1 commit intomozilla-services:masterfrom
peterbe:bug-924965-enable-cors-on-the-api

Conversation

@peterbe
Copy link
Contributor

@peterbe peterbe commented Oct 9, 2013

@lonnen r?

@lonnen
Copy link
Contributor

lonnen commented Oct 9, 2013

💃 🔥 🌊 🚢 🇮🇹

lonnen added a commit that referenced this pull request Oct 9, 2013
@lonnen lonnen merged commit 0c39df4 into mozilla-services:master Oct 9, 2013
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure you need Access-Control-Allow-Methods as well or it will get rejected by the browser. I wrote one for SUMO:

https://github.com/mozilla/kitsune/blob/dc95ade0c4701e4f329bde3c353aa6bbd6a19206/kitsune/sumo/decorators.py#L71

Maybe that can be reused here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants