{"action":"opened","number":43,"pull_request":{"url":"https://api.github.com/repos/andresdavid90/pizza-guy/pulls/43","id":81251357,"html_url":"https://github.com/andresdavid90/pizza-guy/pull/43","diff_url":"https://github.com/andresdavid90/pizza-guy/pull/43.diff","patch_url":"https://github.com/andresdavid90/pizza-guy/pull/43.patch","issue_url":"https://api.github.com/repos/andresdavid90/pizza-guy/issues/43","number":43,"state":"open","locked":false,"title":"fix(download-file.js): Writing files just with 200 code","user":{"login":"andresdavid90","id":1095614,"avatar_url":"https://avatars.githubusercontent.com/u/1095614?v=3","gravatar_id":"","url":"https://api.github.com/users/andresdavid90","html_url":"https://github.com/andresdavid90","followers_url":"https://api.github.com/users/andresdavid90/followers","following_url":"https://api.github.com/users/andresdavid90/following{/other_user}","gists_url":"https://api.github.com/users/andresdavid90/gists{/gist_id}","starred_url":"https://api.github.com/users/andresdavid90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresdavid90/subscriptions","organizations_url":"https://api.github.com/users/andresdavid90/orgs","repos_url":"https://api.github.com/users/andresdavid90/repos","events_url":"https://api.github.com/users/andresdavid90/events{/privacy}","received_events_url":"https://api.github.com/users/andresdavid90/received_events","type":"User","site_admin":false},"body":"We were writing on disk files without checking the http status code causing empty file for cases\r\nwhere the request failed.","created_at":"2016-08-14T18:58:11Z","updated_at":"2016-08-14T18:58:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andresdavid90/pizza-guy/pulls/43/commits","review_comments_url":"https://api.github.com/repos/andresdavid90/pizza-guy/pulls/43/comments","review_comment_url":"https://api.github.com/repos/andresdavid90/pizza-guy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andresdavid90/pizza-guy/issues/43/comments","statuses_url":"https://api.github.com/repos/andresdavid90/pizza-guy/statuses/401ade900e46bebf229cbd9ad0d9d8d51b8bd1ad","head":{"label":"andresdavid90:fix/checking-status-code","ref":"fix/checking-status-code","sha":"401ade900e46bebf229cbd9ad0d9d8d51b8bd1ad","user":{"login":"andresdavid90","id":1095614,"avatar_url":"https://avatars.githubusercontent.com/u/1095614?v=3","gravatar_id":"","url":"https://api.github.com/users/andresdavid90","html_url":"https://github.com/andresdavid90","followers_url":"https://api.github.com/users/andresdavid90/followers","following_url":"https://api.github.com/users/andresdavid90/following{/other_user}","gists_url":"https://api.github.com/users/andresdavid90/gists{/gist_id}","starred_url":"https://api.github.com/users/andresdavid90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresdavid90/subscriptions","organizations_url":"https://api.github.com/users/andresdavid90/orgs","repos_url":"https://api.github.com/users/andresdavid90/repos","events_url":"https://api.github.com/users/andresdavid90/events{/privacy}","received_events_url":"https://api.github.com/users/andresdavid90/received_events","type":"User","site_admin":false},"repo":{"id":55193302,"name":"pizza-guy","full_name":"andresdavid90/pizza-guy","owner":{"login":"andresdavid90","id":1095614,"avatar_url":"https://avatars.githubusercontent.com/u/1095614?v=3","gravatar_id":"","url":"https://api.github.com/users/andresdavid90","html_url":"https://github.com/andresdavid90","followers_url":"https://api.github.com/users/andresdavid90/followers","following_url":"https://api.github.com/users/andresdavid90/following{/other_user}","gists_url":"https://api.github.com/users/andresdavid90/gists{/gist_id}","starred_url":"https://api.github.com/users/andresdavid90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresdavid90/subscriptions","organizations_url":"https://api.github.com/users/andresdavid90/orgs","repos_url":"https://api.github.com/users/andresdavid90/repos","events_url":"https://api.github.com/users/andresdavid90/events{/privacy}","received_events_url":"https://api.github.com/users/andresdavid90/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andresdavid90/pizza-guy","description":"If you already have a big list of urls of files that you want to download but you don't know how, this is your module.","fork":false,"url":"https://api.github.com/repos/andresdavid90/pizza-guy","forks_url":"https://api.github.com/repos/andresdavid90/pizza-guy/forks","keys_url":"https://api.github.com/repos/andresdavid90/pizza-guy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andresdavid90/pizza-guy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andresdavid90/pizza-guy/teams","hooks_url":"https://api.github.com/repos/andresdavid90/pizza-guy/hooks","issue_events_url":"https://api.github.com/repos/andresdavid90/pizza-guy/issues/events{/number}","events_url":"https://api.github.com/repos/andresdavid90/pizza-guy/events","assignees_url":"https://api.github.com/repos/andresdavid90/pizza-guy/assignees{/user}","branches_url":"https://api.github.com/repos/andresdavid90/pizza-guy/branches{/branch}","tags_url":"https://api.github.com/repos/andresdavid90/pizza-guy/tags","blobs_url":"https://api.github.com/repos/andresdavid90/pizza-guy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andresdavid90/pizza-guy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andresdavid90/pizza-guy/git/refs{/sha}","trees_url":"https://api.github.com/repos/andresdavid90/pizza-guy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andresdavid90/pizza-guy/statuses/{sha}","languages_url":"https://api.github.com/repos/andresdavid90/pizza-guy/languages","stargazers_url":"https://api.github.com/repos/andresdavid90/pizza-guy/stargazers","contributors_url":"https://api.github.com/repos/andresdavid90/pizza-guy/contributors","subscribers_url":"https://api.github.com/repos/andresdavid90/pizza-guy/subscribers","subscription_url":"https://api.github.com/repos/andresdavid90/pizza-guy/subscription","commits_url":"https://api.github.com/repos/andresdavid90/pizza-guy/commits{/sha}","git_commits_url":"https://api.github.com/repos/andresdavid90/pizza-guy/git/commits{/sha}","comments_url":"https://api.github.com/repos/andresdavid90/pizza-guy/comments{/number}","issue_comment_url":"https://api.github.com/repos/andresdavid90/pizza-guy/issues/comments{/number}","contents_url":"https://api.github.com/repos/andresdavid90/pizza-guy/contents/{+path}","compare_url":"https://api.github.com/repos/andresdavid90/pizza-guy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andresdavid90/pizza-guy/merges","archive_url":"https://api.github.com/repos/andresdavid90/pizza-guy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andresdavid90/pizza-guy/downloads","issues_url":"https://api.github.com/repos/andresdavid90/pizza-guy/issues{/number}","pulls_url":"https://api.github.com/repos/andresdavid90/pizza-guy/pulls{/number}","milestones_url":"https://api.github.com/repos/andresdavid90/pizza-guy/milestones{/number}","notifications_url":"https://api.github.com/repos/andresdavid90/pizza-guy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andresdavid90/pizza-guy/labels{/name}","releases_url":"https://api.github.com/repos/andresdavid90/pizza-guy/releases{/id}","deployments_url":"https://api.github.com/repos/andresdavid90/pizza-guy/deployments","created_at":"2016-04-01T00:59:20Z","updated_at":"2016-07-25T20:48:32Z","pushed_at":"2016-08-14T18:58:00Z","git_url":"git://github.com/andresdavid90/pizza-guy.git","ssh_url":"git@github.com:andresdavid90/pizza-guy.git","clone_url":"https://github.com/andresdavid90/pizza-guy.git","svn_url":"https://github.com/andresdavid90/pizza-guy","homepage":null,"size":205,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":6,"default_branch":"develop"}},"base":{"label":"andresdavid90:develop","ref":"develop","sha":"6d33b717218279987dbc8eed4223a759003e494b","user":{"login":"andresdavid90","id":1095614,"avatar_url":"https://avatars.githubusercontent.com/u/1095614?v=3","gravatar_id":"","url":"https://api.github.com/users/andresdavid90","html_url":"https://github.com/andresdavid90","followers_url":"https://api.github.com/users/andresdavid90/followers","following_url":"https://api.github.com/users/andresdavid90/following{/other_user}","gists_url":"https://api.github.com/users/andresdavid90/gists{/gist_id}","starred_url":"https://api.github.com/users/andresdavid90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresdavid90/subscriptions","organizations_url":"https://api.github.com/users/andresdavid90/orgs","repos_url":"https://api.github.com/users/andresdavid90/repos","events_url":"https://api.github.com/users/andresdavid90/events{/privacy}","received_events_url":"https://api.github.com/users/andresdavid90/received_events","type":"User","site_admin":false},"repo":{"id":55193302,"name":"pizza-guy","full_name":"andresdavid90/pizza-guy","owner":{"login":"andresdavid90","id":1095614,"avatar_url":"https://avatars.githubusercontent.com/u/1095614?v=3","gravatar_id":"","url":"https://api.github.com/users/andresdavid90","html_url":"https://github.com/andresdavid90","followers_url":"https://api.github.com/users/andresdavid90/followers","following_url":"https://api.github.com/users/andresdavid90/following{/other_user}","gists_url":"https://api.github.com/users/andresdavid90/gists{/gist_id}","starred_url":"https://api.github.com/users/andresdavid90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresdavid90/subscriptions","organizations_url":"https://api.github.com/users/andresdavid90/orgs","repos_url":"https://api.github.com/users/andresdavid90/repos","events_url":"https://api.github.com/users/andresdavid90/events{/privacy}","received_events_url":"https://api.github.com/users/andresdavid90/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andresdavid90/pizza-guy","description":"If you already have a big list of urls of files that you want to download but you don't know how, this is your module.","fork":false,"url":"https://api.github.com/repos/andresdavid90/pizza-guy","forks_url":"https://api.github.com/repos/andresdavid90/pizza-guy/forks","keys_url":"https://api.github.com/repos/andresdavid90/pizza-guy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andresdavid90/pizza-guy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andresdavid90/pizza-guy/teams","hooks_url":"https://api.github.com/repos/andresdavid90/pizza-guy/hooks","issue_events_url":"https://api.github.com/repos/andresdavid90/pizza-guy/issues/events{/number}","events_url":"https://api.github.com/repos/andresdavid90/pizza-guy/events","assignees_url":"https://api.github.com/repos/andresdavid90/pizza-guy/assignees{/user}","branches_url":"https://api.github.com/repos/andresdavid90/pizza-guy/branches{/branch}","tags_url":"https://api.github.com/repos/andresdavid90/pizza-guy/tags","blobs_url":"https://api.github.com/repos/andresdavid90/pizza-guy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andresdavid90/pizza-guy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andresdavid90/pizza-guy/git/refs{/sha}","trees_url":"https://api.github.com/repos/andresdavid90/pizza-guy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andresdavid90/pizza-guy/statuses/{sha}","languages_url":"https://api.github.com/repos/andresdavid90/pizza-guy/languages","stargazers_url":"https://api.github.com/repos/andresdavid90/pizza-guy/stargazers","contributors_url":"https://api.github.com/repos/andresdavid90/pizza-guy/contributors","subscribers_url":"https://api.github.com/repos/andresdavid90/pizza-guy/subscribers","subscription_url":"https://api.github.com/repos/andresdavid90/pizza-guy/subscription","commits_url":"https://api.github.com/repos/andresdavid90/pizza-guy/commits{/sha}","git_commits_url":"https://api.github.com/repos/andresdavid90/pizza-guy/git/commits{/sha}","comments_url":"https://api.github.com/repos/andresdavid90/pizza-guy/comments{/number}","issue_comment_url":"https://api.github.com/repos/andresdavid90/pizza-guy/issues/comments{/number}","contents_url":"https://api.github.com/repos/andresdavid90/pizza-guy/contents/{+path}","compare_url":"https://api.github.com/repos/andresdavid90/pizza-guy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andresdavid90/pizza-guy/merges","archive_url":"https://api.github.com/repos/andresdavid90/pizza-guy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andresdavid90/pizza-guy/downloads","issues_url":"https://api.github.com/repos/andresdavid90/pizza-guy/issues{/number}","pulls_url":"https://api.github.com/repos/andresdavid90/pizza-guy/pulls{/number}","milestones_url":"https://api.github.com/repos/andresdavid90/pizza-guy/milestones{/number}","notifications_url":"https://api.github.com/repos/andresdavid90/pizza-guy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andresdavid90/pizza-guy/labels{/name}","releases_url":"https://api.github.com/repos/andresdavid90/pizza-guy/releases{/id}","deployments_url":"https://api.github.com/repos/andresdavid90/pizza-guy/deployments","created_at":"2016-04-01T00:59:20Z","updated_at":"2016-07-25T20:48:32Z","pushed_at":"2016-08-14T18:58:00Z","git_url":"git://github.com/andresdavid90/pizza-guy.git","ssh_url":"git@github.com:andresdavid90/pizza-guy.git","clone_url":"https://github.com/andresdavid90/pizza-guy.git","svn_url":"https://github.com/andresdavid90/pizza-guy","homepage":null,"size":205,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":6,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andresdavid90/pizza-guy/pulls/43"},"html":{"href":"https://github.com/andresdavid90/pizza-guy/pull/43"},"issue":{"href":"https://api.github.com/repos/andresdavid90/pizza-guy/issues/43"},"comments":{"href":"https://api.github.com/repos/andresdavid90/pizza-guy/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/andresdavid90/pizza-guy/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/andresdavid90/pizza-guy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andresdavid90/pizza-guy/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/andresdavid90/pizza-guy/statuses/401ade900e46bebf229cbd9ad0d9d8d51b8bd1ad"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"andresdavid90"}}