{"action":"created","issue":{"url":"https://api.github.com/repos/github/fetch/issues/180","repository_url":"https://api.github.com/repos/github/fetch","labels_url":"https://api.github.com/repos/github/fetch/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/github/fetch/issues/180/comments","events_url":"https://api.github.com/repos/github/fetch/issues/180/events","html_url":"https://github.com/github/fetch/issues/180","id":95946382,"node_id":"MDU6SXNzdWU5NTk0NjM4Mg==","number":180,"title":"Export fetch function","user":{"login":"jpochyla","id":1055497,"node_id":"MDQ6VXNlcjEwNTU0OTc=","avatar_url":"https://avatars3.githubusercontent.com/u/1055497?v=4","gravatar_id":"","url":"https://api.github.com/users/jpochyla","html_url":"https://github.com/jpochyla","followers_url":"https://api.github.com/users/jpochyla/followers","following_url":"https://api.github.com/users/jpochyla/following{/other_user}","gists_url":"https://api.github.com/users/jpochyla/gists{/gist_id}","starred_url":"https://api.github.com/users/jpochyla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpochyla/subscriptions","organizations_url":"https://api.github.com/users/jpochyla/orgs","repos_url":"https://api.github.com/users/jpochyla/repos","events_url":"https://api.github.com/users/jpochyla/events{/privacy}","received_events_url":"https://api.github.com/users/jpochyla/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-07-19T20:31:20Z","updated_at":"2018-08-08T07:29:10Z","closed_at":"2015-07-19T21:55:24Z","author_association":"NONE","body":"Exporting the `fetch` function through `module.exports` would allow me to use the polyfill instead of buggy browser implementations. For example, current Chrome Canary incorrectly throws on 504 response, without any sensible way of detecting the cause of error in the catch handler.\n"},"comment":{"url":"https://api.github.com/repos/github/fetch/issues/comments/411313511","html_url":"https://github.com/github/fetch/issues/180#issuecomment-411313511","issue_url":"https://api.github.com/repos/github/fetch/issues/180","id":411313511,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTMxMzUxMQ==","user":{"login":"bamsebjrn","id":42194244,"node_id":"MDQ6VXNlcjQyMTk0MjQ0","avatar_url":"https://avatars2.githubusercontent.com/u/42194244?v=4","gravatar_id":"","url":"https://api.github.com/users/bamsebjrn","html_url":"https://github.com/bamsebjrn","followers_url":"https://api.github.com/users/bamsebjrn/followers","following_url":"https://api.github.com/users/bamsebjrn/following{/other_user}","gists_url":"https://api.github.com/users/bamsebjrn/gists{/gist_id}","starred_url":"https://api.github.com/users/bamsebjrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamsebjrn/subscriptions","organizations_url":"https://api.github.com/users/bamsebjrn/orgs","repos_url":"https://api.github.com/users/bamsebjrn/repos","events_url":"https://api.github.com/users/bamsebjrn/events{/privacy}","received_events_url":"https://api.github.com/users/bamsebjrn/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T07:29:10Z","updated_at":"2018-08-08T07:29:10Z","author_association":"NONE","body":"excitera me sir but what? im jusing tor o chrome\r\n\r\nSkickat från min iPhone\r\n\r\n8 aug. 2018 kl. 09:19 skrev Jarek Rencz <notifications@github.com<mailto:notifications@github.com>>:\r\n\r\n\r\n@mislav<https://github.com/mislav> thanks for a hint :)\r\n\r\nAny faulty browser implementation of fetch is that browser vendor's problem and should be taken with them.\r\n\r\nTo a certain extent it's not always on the browser vendor's side. E.g.: In a project of mine, where I use fetchI experience a strange behaviour in Firefox <54 where using native fetch it produces POST requests without payload. I was able to reproduce it with 1/500-1000 ratio but I see it in production so it's a fact.\r\n\r\nEnforcing polyfill allows me to make my app usable for such users (those are mostly Firefox 52 users)\r\n\r\nAnd now to the point: Firefox 52 is the last one on Win XP and Win Vista. I don't have a comfort of telling my users to update their PCs' OS just because at some point Mozilla did something bad in fetch implementation and then they fixed it (to my best knowledge either silently or accidentally because I found no bug report about such behaviour in Bugzilla)\r\n\r\n—\r\nYou are receiving this because you are subscribed to this thread.\r\nReply to this email directly, view it on GitHub<https://github.com/github/fetch/issues/180#issuecomment-411311099>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AoPVRO_Qst3Il-tU9tCvRCIkVLxcnGCDks5uOpD2gaJpZM4Fblbf>.\r\n"}}
{"actor":{"display_login":"bamsebjrn"}}