{"action":"opened","issue":{"url":"https://api.github.com/repos/visionmedia/superagent/issues/1075","repository_url":"https://api.github.com/repos/visionmedia/superagent","labels_url":"https://api.github.com/repos/visionmedia/superagent/issues/1075/labels{/name}","comments_url":"https://api.github.com/repos/visionmedia/superagent/issues/1075/comments","events_url":"https://api.github.com/repos/visionmedia/superagent/issues/1075/events","html_url":"https://github.com/visionmedia/superagent/issues/1075","id":180284410,"number":1075,"title":".attach() Has an error in firefox browser","user":{"login":"subhamagr","id":7915409,"avatar_url":"https://avatars.githubusercontent.com/u/7915409?v=3","gravatar_id":"","url":"https://api.github.com/users/subhamagr","html_url":"https://github.com/subhamagr","followers_url":"https://api.github.com/users/subhamagr/followers","following_url":"https://api.github.com/users/subhamagr/following{/other_user}","gists_url":"https://api.github.com/users/subhamagr/gists{/gist_id}","starred_url":"https://api.github.com/users/subhamagr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subhamagr/subscriptions","organizations_url":"https://api.github.com/users/subhamagr/orgs","repos_url":"https://api.github.com/users/subhamagr/repos","events_url":"https://api.github.com/users/subhamagr/events{/privacy}","received_events_url":"https://api.github.com/users/subhamagr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-30T11:44:43Z","updated_at":"2016-09-30T11:44:43Z","closed_at":null,"body":"I got an error in Firefox browser.\r\nHere is the error:\r\n\"Error: Argument 2 of FormData.append does not implement interface Blob.\"\r\n\r\n```javascript\r\nrequest\r\n  .post(url)\r\n  .attach('file', image, 'file')\r\n  .end(function(err, res) { ... })\r\n\r\n```\r\n\r\nhere the image object can be null. The file input is optional. It raise error in Firefox browser when the file object is null. However, in Chrome browser it works fine."}}
{"actor":{"display_login":"subhamagr"}}