{"action":"created","issue":{"url":"https://api.github.com/repos/xcv58/meteor-collectionapi/issues/10","labels_url":"https://api.github.com/repos/xcv58/meteor-collectionapi/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/xcv58/meteor-collectionapi/issues/10/comments","events_url":"https://api.github.com/repos/xcv58/meteor-collectionapi/issues/10/events","html_url":"https://github.com/xcv58/meteor-collectionapi/issues/10","id":96377529,"number":10,"title":"CORS works on Chrome but not Safari","user":{"login":"dagatsoin","id":3670794,"avatar_url":"https://avatars.githubusercontent.com/u/3670794?v=3","gravatar_id":"","url":"https://api.github.com/users/dagatsoin","html_url":"https://github.com/dagatsoin","followers_url":"https://api.github.com/users/dagatsoin/followers","following_url":"https://api.github.com/users/dagatsoin/following{/other_user}","gists_url":"https://api.github.com/users/dagatsoin/gists{/gist_id}","starred_url":"https://api.github.com/users/dagatsoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagatsoin/subscriptions","organizations_url":"https://api.github.com/users/dagatsoin/orgs","repos_url":"https://api.github.com/users/dagatsoin/repos","events_url":"https://api.github.com/users/dagatsoin/events{/privacy}","received_events_url":"https://api.github.com/users/dagatsoin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-07-21T17:56:49Z","updated_at":"2015-07-22T21:04:31Z","closed_at":null,"body":"Hi,\r\n\r\nI have issue with CORS. If you try access this url http://tourisme-ploermel.com/?debug=true in chrome then in Safari. It works with Chrome but not in Safari. Neither on iOS. Did not try on Android.\r\n\r\nHere is a log of my server\r\n```\r\nError: Can't set headers after they are sent.\r\n2015-07-21T19:49:45.688+02:00at ServerResponse.OutgoingMessage.setHeader (http.js:690:11)\r\n2015-07-21T19:49:45.717+02:00at ServerResponse.res.setHeader (/home/bas/app_a5ad6cc6-7305-4134-a6d7-da32daf6a1e6/my_app/node_modules/connect/lib/patch.js:59:22)\r\n2015-07-21T19:49:45.731+02:00at packages/xcv58:collection-api/xcv58:collection-api.js:76:1\r\n```\r\n\r\nAny idea ?"},"comment":{"url":"https://api.github.com/repos/xcv58/meteor-collectionapi/issues/comments/123863203","html_url":"https://github.com/xcv58/meteor-collectionapi/issues/10#issuecomment-123863203","issue_url":"https://api.github.com/repos/xcv58/meteor-collectionapi/issues/10","id":123863203,"user":{"login":"dagatsoin","id":3670794,"avatar_url":"https://avatars.githubusercontent.com/u/3670794?v=3","gravatar_id":"","url":"https://api.github.com/users/dagatsoin","html_url":"https://github.com/dagatsoin","followers_url":"https://api.github.com/users/dagatsoin/followers","following_url":"https://api.github.com/users/dagatsoin/following{/other_user}","gists_url":"https://api.github.com/users/dagatsoin/gists{/gist_id}","starred_url":"https://api.github.com/users/dagatsoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagatsoin/subscriptions","organizations_url":"https://api.github.com/users/dagatsoin/orgs","repos_url":"https://api.github.com/users/dagatsoin/repos","events_url":"https://api.github.com/users/dagatsoin/events{/privacy}","received_events_url":"https://api.github.com/users/dagatsoin/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T21:04:31Z","updated_at":"2015-07-22T21:04:31Z","body":"Yes. But Safari receives another error now: `[Error] Failed to load resource: the server responded with a status of 501 (Not Implemented) (traces, line 0)`"}}