{"action":"closed","issue":{"url":"https://api.github.com/repos/atom/electron/issues/4397","repository_url":"https://api.github.com/repos/atom/electron","labels_url":"https://api.github.com/repos/atom/electron/issues/4397/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/4397/comments","events_url":"https://api.github.com/repos/atom/electron/issues/4397/events","html_url":"https://github.com/atom/electron/issues/4397","id":131949289,"number":4397,"title":"Overwrite Origin header","user":{"login":"paul321","id":555502,"avatar_url":"https://avatars.githubusercontent.com/u/555502?v=3","gravatar_id":"","url":"https://api.github.com/users/paul321","html_url":"https://github.com/paul321","followers_url":"https://api.github.com/users/paul321/followers","following_url":"https://api.github.com/users/paul321/following{/other_user}","gists_url":"https://api.github.com/users/paul321/gists{/gist_id}","starred_url":"https://api.github.com/users/paul321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paul321/subscriptions","organizations_url":"https://api.github.com/users/paul321/orgs","repos_url":"https://api.github.com/users/paul321/repos","events_url":"https://api.github.com/users/paul321/events{/privacy}","received_events_url":"https://api.github.com/users/paul321/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-07T08:37:52Z","updated_at":"2016-02-08T20:56:14Z","closed_at":"2016-02-08T20:56:14Z","body":"Hi\r\n\r\nCurrently in Electro the header: Origin cannot be set, if you make an ajax call to a website the Origin will be Origin: file:// which you can get blocked for this.\r\n\r\nThe error it's following: Refused to set unsafe header \"Origin\""}}