{"action":"created","issue":{"url":"https://api.github.com/repos/request/request/issues/1961","labels_url":"https://api.github.com/repos/request/request/issues/1961/labels{/name}","comments_url":"https://api.github.com/repos/request/request/issues/1961/comments","events_url":"https://api.github.com/repos/request/request/issues/1961/events","html_url":"https://github.com/request/request/issues/1961","id":121612847,"number":1961,"title":"Chrome: formData can't be used because browsers can't use `on`.","user":{"login":"nemothekid","id":940094,"avatar_url":"https://avatars.githubusercontent.com/u/940094?v=3","gravatar_id":"","url":"https://api.github.com/users/nemothekid","html_url":"https://github.com/nemothekid","followers_url":"https://api.github.com/users/nemothekid/followers","following_url":"https://api.github.com/users/nemothekid/following{/other_user}","gists_url":"https://api.github.com/users/nemothekid/gists{/gist_id}","starred_url":"https://api.github.com/users/nemothekid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemothekid/subscriptions","organizations_url":"https://api.github.com/users/nemothekid/orgs","repos_url":"https://api.github.com/users/nemothekid/repos","events_url":"https://api.github.com/users/nemothekid/events{/privacy}","received_events_url":"https://api.github.com/users/nemothekid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-11T01:05:09Z","updated_at":"2015-12-27T16:48:13Z","closed_at":null,"body":"I'm not sure if browser support is a goal of this lirbary, but when using this library via Browserify, you cannot make multipart/form requests.\r\n\r\nSample Request\r\n```js\r\nrequest.put(\"/v3/uploads\", {json:false, formData: {upload: file_handle}})\r\n```\r\nError:\r\nUncaught TypeError: self._form.on is not a function [request.js:1134](https://github.com/request/request/blob/a7f7e75e9962cf5b4a06ade9269e5ae10c2f57ce/request.js#L1134).\r\n\r\nIt looks like browsers don't support the `.on('error')` call. \r\n"},"comment":{"url":"https://api.github.com/repos/request/request/issues/comments/167425707","html_url":"https://github.com/request/request/issues/1961#issuecomment-167425707","issue_url":"https://api.github.com/repos/request/request/issues/1961","id":167425707,"user":{"login":"Anomen","id":219680,"avatar_url":"https://avatars.githubusercontent.com/u/219680?v=3","gravatar_id":"","url":"https://api.github.com/users/Anomen","html_url":"https://github.com/Anomen","followers_url":"https://api.github.com/users/Anomen/followers","following_url":"https://api.github.com/users/Anomen/following{/other_user}","gists_url":"https://api.github.com/users/Anomen/gists{/gist_id}","starred_url":"https://api.github.com/users/Anomen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anomen/subscriptions","organizations_url":"https://api.github.com/users/Anomen/orgs","repos_url":"https://api.github.com/users/Anomen/repos","events_url":"https://api.github.com/users/Anomen/events{/privacy}","received_events_url":"https://api.github.com/users/Anomen/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T16:48:13Z","updated_at":"2015-12-27T16:48:13Z","body":"Same thing for me, using Webpack and Chrome."}}