{"action":"created","issue":{"url":"https://api.github.com/repos/Yaffle/EventSource/issues/72","repository_url":"https://api.github.com/repos/Yaffle/EventSource","labels_url":"https://api.github.com/repos/Yaffle/EventSource/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/Yaffle/EventSource/issues/72/comments","events_url":"https://api.github.com/repos/Yaffle/EventSource/issues/72/events","html_url":"https://github.com/Yaffle/EventSource/issues/72","id":161677118,"number":72,"title":"EventSource's response has a MIME type (\"text/html\") that is not \"text/event-stream\". Aborting the connection.","user":{"login":"lmkoushik","id":10737246,"avatar_url":"https://avatars.githubusercontent.com/u/10737246?v=3","gravatar_id":"","url":"https://api.github.com/users/lmkoushik","html_url":"https://github.com/lmkoushik","followers_url":"https://api.github.com/users/lmkoushik/followers","following_url":"https://api.github.com/users/lmkoushik/following{/other_user}","gists_url":"https://api.github.com/users/lmkoushik/gists{/gist_id}","starred_url":"https://api.github.com/users/lmkoushik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmkoushik/subscriptions","organizations_url":"https://api.github.com/users/lmkoushik/orgs","repos_url":"https://api.github.com/users/lmkoushik/repos","events_url":"https://api.github.com/users/lmkoushik/events{/privacy}","received_events_url":"https://api.github.com/users/lmkoushik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-22T13:06:17Z","updated_at":"2016-06-23T05:21:31Z","closed_at":null,"body":"Event source is working on apache srever. But When I am switching to nginx, it says \r\n`EventSource's response has a MIME type (\"text/html\") that is not \"text/event-stream\". Aborting the connection.`\r\nI am using PHP and laravel and chrome browser.\r\n\r\nI have added \r\n`header('Content-Type: text/event-stream');`\r\n`header('Cache-Control: no-cache');`\r\n before the response from server.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Yaffle/EventSource/issues/comments/227952612","html_url":"https://github.com/Yaffle/EventSource/issues/72#issuecomment-227952612","issue_url":"https://api.github.com/repos/Yaffle/EventSource/issues/72","id":227952612,"user":{"login":"lmkoushik","id":10737246,"avatar_url":"https://avatars.githubusercontent.com/u/10737246?v=3","gravatar_id":"","url":"https://api.github.com/users/lmkoushik","html_url":"https://github.com/lmkoushik","followers_url":"https://api.github.com/users/lmkoushik/followers","following_url":"https://api.github.com/users/lmkoushik/following{/other_user}","gists_url":"https://api.github.com/users/lmkoushik/gists{/gist_id}","starred_url":"https://api.github.com/users/lmkoushik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmkoushik/subscriptions","organizations_url":"https://api.github.com/users/lmkoushik/orgs","repos_url":"https://api.github.com/users/lmkoushik/repos","events_url":"https://api.github.com/users/lmkoushik/events{/privacy}","received_events_url":"https://api.github.com/users/lmkoushik/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T05:21:31Z","updated_at":"2016-06-23T05:21:31Z","body":"I am getting the below response on console of chrome.\r\n`EventSource's response has a MIME type (\"text/html\") that is not \"text/event-stream\". Aborting the connection.`"}}
{"actor":{"display_login":"lmkoushik"}}