{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/8566","repository_url":"https://api.github.com/repos/mozilla/pdf.js","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/8566/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/8566/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/8566/events","html_url":"https://github.com/mozilla/pdf.js/issues/8566","id":238043261,"number":8566,"title":"Chrome  Refused to get unsafe header \"Content-Range","user":{"login":"darklinki","id":5844758,"avatar_url":"https://avatars0.githubusercontent.com/u/5844758?v=3","gravatar_id":"","url":"https://api.github.com/users/darklinki","html_url":"https://github.com/darklinki","followers_url":"https://api.github.com/users/darklinki/followers","following_url":"https://api.github.com/users/darklinki/following{/other_user}","gists_url":"https://api.github.com/users/darklinki/gists{/gist_id}","starred_url":"https://api.github.com/users/darklinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darklinki/subscriptions","organizations_url":"https://api.github.com/users/darklinki/orgs","repos_url":"https://api.github.com/users/darklinki/repos","events_url":"https://api.github.com/users/darklinki/events{/privacy}","received_events_url":"https://api.github.com/users/darklinki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-23T05:19:50Z","updated_at":"2017-06-23T05:19:50Z","closed_at":null,"body":"What is the expected behavior? (add screenshot)\r\nDisplay pdf file in Webpage in angular2 (its a problem with pdf.js I think) dosnt work in Chrome.\r\n\r\nWhat went wrong? (add screenshot)\r\n**Refused to get unsafe header \"Content-Range**\" than trying to get the pdf file. \r\n\r\nIn FireFox it works (After setting the Expose Headers) without problems only Chrome/Vivaldi dont get it.  Following the tutorials and the github topics I set the headers in apache like this:\r\n\r\nHeader always set Access-Control-Allow-Origin \"*\" \r\nHeader always set Access-Control-Allow-Methods \"POST, GET, OPTIONS, DELETE, PUT\" \r\nHeader always set Access-Control-Max-Age \"1000\" \r\nHeader always set Access-Control-Allow-Headers \"Range, Origin, X-Requested-With, Content-Type, Accept, Authorization\" \r\nHeader always set Access-Control-Expose-Headers: \"Content-Length, Content-Encoding, Accept-Ranges, Content-Range\"\r\n\r\nStill not working. \r\n\r\nAny idea ? \r\n"}}
{"actor":{"display_login":"darklinki"}}