Closed Bug 1007861 Opened 11 years ago Closed 9 years ago

Enable CORS on Demo Studio submissions

Categories

(developer.mozilla.org Graveyard :: Demo Studio / Dev Derby, enhancement, P1)

x86_64
Linux
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mars, Unassigned)

References

Details

(Whiteboard: [LOE:?])

The Dev Derby migration team wants to run an experiment hosting App Maker content on Demo Studio. To do this they would need to display demo studio submissions on their site. The Webmaker team has asked us if it is possible to add a CORS header to the Demo Studio request headers so apps.webmaker.org can display the submission contents. We only need to add the header to the submissions, not the entire Demo Studio site. The Webmaker team is going to test asset loading on their site once the headers are available. We can remove the header again if the experiment doesn't work. We would like to complete the experiment by May 15th, if possible.
Blocks: 999635
So, looking into this I'm now a bit confused. Demos already seem to be setting the appropriate headers, as in this example: $ curl -sIXGET https://developer.cdn.mozilla.net/media/uploads/demos/M/M.G.A./a664e1ebc2b3fc0b627816a1cf1874cb/tutorializr_1373362174_demo_package/index.html HTTP/1.1 200 OK Last-Modified: Wed, 10 Jul 2013 09:28:31 GMT ETag: "4e124e6a1ef1c" Server: Apache X-Cache-Info: not cacheable; response code not cacheable X-Backend-Server: developer2.webapp.scl3.mozilla.com Content-Type: text/html; charset=UTF-8 Access-Control-Allow-Origin: * Cache-Control: max-age=27581 Expires: Wed, 14 May 2014 18:15:47 GMT Date: Wed, 14 May 2014 10:36:06 GMT Content-Length: 7453 Connection: keep-alive
Flags: needinfo?(mars)
Bobby, per comment 1, does that work for you?
Flags: needinfo?(mars) → needinfo?(bobby)
That should work! Can we put the contents of https://github.com/secretrobotron/component-label somewhere on the demos server so we can test in Appmaker land?
Flags: needinfo?(bobby)
Ali or Kensie, are either of you able to help with Bobby's request in comment 3?
Flags: needinfo?(majken)
Flags: needinfo?(aspivak)
This one is for Kensie...
Flags: needinfo?(aspivak)
Clearing needsinfo, this is on hold indefinitely until there are more people to help.
Flags: needinfo?(majken)
Demo Studio has been decommissioned. See bug 1223109.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.