{"action":"created","issue":{"url":"https://api.github.com/repos/LibreTime/libretime/issues/369","repository_url":"https://api.github.com/repos/LibreTime/libretime","labels_url":"https://api.github.com/repos/LibreTime/libretime/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/LibreTime/libretime/issues/369/comments","events_url":"https://api.github.com/repos/LibreTime/libretime/issues/369/events","html_url":"https://github.com/LibreTime/libretime/pull/369","id":276730707,"number":369,"title":"Add CORS handling to podcast feed","user":{"login":"rfb","id":4613,"avatar_url":"https://avatars0.githubusercontent.com/u/4613?v=4","gravatar_id":"","url":"https://api.github.com/users/rfb","html_url":"https://github.com/rfb","followers_url":"https://api.github.com/users/rfb/followers","following_url":"https://api.github.com/users/rfb/following{/other_user}","gists_url":"https://api.github.com/users/rfb/gists{/gist_id}","starred_url":"https://api.github.com/users/rfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfb/subscriptions","organizations_url":"https://api.github.com/users/rfb/orgs","repos_url":"https://api.github.com/users/rfb/repos","events_url":"https://api.github.com/users/rfb/events{/privacy}","received_events_url":"https://api.github.com/users/rfb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/LibreTime/libretime/milestones/5","html_url":"https://github.com/LibreTime/libretime/milestone/5","labels_url":"https://api.github.com/repos/LibreTime/libretime/milestones/5/labels","id":2635230,"number":5,"title":"3.0.0-alpha.4","description":"What comes after [3.0.0-alpha.1](https://github.com/LibreTime/libretime/milestone/4)","creator":{"login":"hairmare","id":116588,"avatar_url":"https://avatars2.githubusercontent.com/u/116588?v=4","gravatar_id":"","url":"https://api.github.com/users/hairmare","html_url":"https://github.com/hairmare","followers_url":"https://api.github.com/users/hairmare/followers","following_url":"https://api.github.com/users/hairmare/following{/other_user}","gists_url":"https://api.github.com/users/hairmare/gists{/gist_id}","starred_url":"https://api.github.com/users/hairmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairmare/subscriptions","organizations_url":"https://api.github.com/users/hairmare/orgs","repos_url":"https://api.github.com/users/hairmare/repos","events_url":"https://api.github.com/users/hairmare/events{/privacy}","received_events_url":"https://api.github.com/users/hairmare/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":9,"state":"open","created_at":"2017-07-11T18:52:01Z","updated_at":"2017-11-25T09:19:40Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-11-25T06:51:03Z","updated_at":"2017-11-25T23:24:35Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/LibreTime/libretime/pulls/369","html_url":"https://github.com/LibreTime/libretime/pull/369","diff_url":"https://github.com/LibreTime/libretime/pull/369.diff","patch_url":"https://github.com/LibreTime/libretime/pull/369.patch"},"body":"I'm building an archive page for our station that will pull libretime's podcast feed. I needed to add CORS support to the file, and noticed libretime already handles CORS responses for other resources."},"comment":{"url":"https://api.github.com/repos/LibreTime/libretime/issues/comments/346972869","html_url":"https://github.com/LibreTime/libretime/pull/369#issuecomment-346972869","issue_url":"https://api.github.com/repos/LibreTime/libretime/issues/369","id":346972869,"user":{"login":"rfb","id":4613,"avatar_url":"https://avatars0.githubusercontent.com/u/4613?v=4","gravatar_id":"","url":"https://api.github.com/users/rfb","html_url":"https://github.com/rfb","followers_url":"https://api.github.com/users/rfb/followers","following_url":"https://api.github.com/users/rfb/following{/other_user}","gists_url":"https://api.github.com/users/rfb/gists{/gist_id}","starred_url":"https://api.github.com/users/rfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfb/subscriptions","organizations_url":"https://api.github.com/users/rfb/orgs","repos_url":"https://api.github.com/users/rfb/repos","events_url":"https://api.github.com/users/rfb/events{/privacy}","received_events_url":"https://api.github.com/users/rfb/received_events","type":"User","site_admin":false},"created_at":"2017-11-25T23:24:35Z","updated_at":"2017-11-25T23:24:35Z","author_association":"NONE","body":"@hairmare hold off on merging this. `CORSHelper::enableCrossOriginRequests` explodes if the origin header is null (`Origin: null`). I imagine podcasting hosts and clients don't often set the Origin! I'll take another look. \r\n\r\nWhere would I write tests for this in Libretime?"}}
{"actor":{"display_login":"rfb"}}