Closed Bug 794496 Opened 13 years ago Closed 13 years ago

Add in CORS

Categories

(Marketplace Graveyard :: API, enhancement, P5)

x86
macOS
enhancement

Tracking

(Not tracked)

RESOLVED FIXED
2013-02-28

People

(Reporter: andy+bugzilla, Assigned: andy+bugzilla)

Details

I don't see any reason why the API can't have CORs headers on it. Let's add those. https://developer.mozilla.org/en-US/docs/HTTP_access_control
Severity: normal → enhancement
Priority: -- → P5
Assignee: nobody → amckay
Target Milestone: --- → 2013-02-28
https://github.com/mozilla/zamboni/commit/d16d95 You have to explicitly change the base class to CORSResource. I've only done this for one so far, the price tier API (as noted in the doc), not keen on putting on this lots of methods until I understand all the CSRF issues.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.