{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pontoon/issues/410","repository_url":"https://api.github.com/repos/mozilla/pontoon","labels_url":"https://api.github.com/repos/mozilla/pontoon/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pontoon/issues/410/comments","events_url":"https://api.github.com/repos/mozilla/pontoon/issues/410/events","html_url":"https://github.com/mozilla/pontoon/pull/410","id":158073307,"number":410,"title":"Fix bug 1277367. Added \"Access-Control-Allow-Origin: *\" for pontoon.j…","user":{"login":"jotes","id":8784972,"avatar_url":"https://avatars.githubusercontent.com/u/8784972?v=3","gravatar_id":"","url":"https://api.github.com/users/jotes","html_url":"https://github.com/jotes","followers_url":"https://api.github.com/users/jotes/followers","following_url":"https://api.github.com/users/jotes/following{/other_user}","gists_url":"https://api.github.com/users/jotes/gists{/gist_id}","starred_url":"https://api.github.com/users/jotes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jotes/subscriptions","organizations_url":"https://api.github.com/users/jotes/orgs","repos_url":"https://api.github.com/users/jotes/repos","events_url":"https://api.github.com/users/jotes/events{/privacy}","received_events_url":"https://api.github.com/users/jotes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-02T07:09:29Z","updated_at":"2016-06-02T20:47:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pontoon/pulls/410","html_url":"https://github.com/mozilla/pontoon/pull/410","diff_url":"https://github.com/mozilla/pontoon/pull/410.diff","patch_url":"https://github.com/mozilla/pontoon/pull/410.patch"},"body":"Hi @mathjazz  @lmorchard\r\n\r\nCould you look at this patch?\r\n\r\nI've tested this locally, but it seems to work.\r\n```\r\ncurl -I -H 'ORIGIN: mozilla.org' http://localhost:8000/pontoon.js                                                                                                                                         \r\nHTTP/1.0 301 Moved Permanently\r\nDate: Thu, 02 Jun 2016 07:02:12 GMT\r\nServer: WSGIServer/0.1 Python/2.7.11+\r\nAccess-Control-Allow-Origin: *\r\nVary: Cookie\r\nX-Frame-Options: DENY\r\nContent-Type: text/html; charset=utf-8\r\nLocation: /static/js/pontoon.js\r\nSet-Cookie:  anoncsrf=k6h2VrfjNe8qzxqfzHgs7VUh3JwaSyj4; expires=Thu, 02-Jun-2016 09:02:12 GMT; httponly; Max-Age=7200; Path=/\r\n% curl -I -H 'ORIGIN: mozilla.org' http://localhost:8000/                                                                                                                                                  \r\nHTTP/1.0 200 OK\r\nDate: Thu, 02 Jun 2016 07:02:17 GMT\r\nServer: WSGIServer/0.1 Python/2.7.11+\r\nVary: Cookie, Accept-Encoding\r\nX-Frame-Options: DENY\r\nContent-Type: text/html; charset=utf-8\r\nSet-Cookie:  anoncsrf=m1yd95CorqwlP0gBh9FISeiMeZLOnwxD; expires=Thu, 02-Jun-2016 09:02:17 GMT; httponly; Max-Age=7200; Path=/\r\n```"},"comment":{"url":"https://api.github.com/repos/mozilla/pontoon/issues/comments/223417365","html_url":"https://github.com/mozilla/pontoon/pull/410#issuecomment-223417365","issue_url":"https://api.github.com/repos/mozilla/pontoon/issues/410","id":223417365,"user":{"login":"jotes","id":8784972,"avatar_url":"https://avatars.githubusercontent.com/u/8784972?v=3","gravatar_id":"","url":"https://api.github.com/users/jotes","html_url":"https://github.com/jotes","followers_url":"https://api.github.com/users/jotes/followers","following_url":"https://api.github.com/users/jotes/following{/other_user}","gists_url":"https://api.github.com/users/jotes/gists{/gist_id}","starred_url":"https://api.github.com/users/jotes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jotes/subscriptions","organizations_url":"https://api.github.com/users/jotes/orgs","repos_url":"https://api.github.com/users/jotes/repos","events_url":"https://api.github.com/users/jotes/events{/privacy}","received_events_url":"https://api.github.com/users/jotes/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T20:47:44Z","updated_at":"2016-06-02T20:47:44Z","body":"Could you check what you get locally?\r\n```\r\ncurl -H 'origin: mozilla.org' -I  http://localhost:8000/pontoon.js\r\n```"}}
{"actor":{"display_login":"jotes"}}