{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/pulls/4","id":29500477,"html_url":"https://github.com/avelino/vim-bootstrap-updater/pull/4","diff_url":"https://github.com/avelino/vim-bootstrap-updater/pull/4.diff","patch_url":"https://github.com/avelino/vim-bootstrap-updater/pull/4.patch","issue_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/issues/4","number":4,"state":"closed","locked":false,"title":"Use urllib2 instead of HTTPConnection","user":{"login":"nemith","id":349360,"avatar_url":"https://avatars.githubusercontent.com/u/349360?v=3","gravatar_id":"","url":"https://api.github.com/users/nemith","html_url":"https://github.com/nemith","followers_url":"https://api.github.com/users/nemith/followers","following_url":"https://api.github.com/users/nemith/following{/other_user}","gists_url":"https://api.github.com/users/nemith/gists{/gist_id}","starred_url":"https://api.github.com/users/nemith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemith/subscriptions","organizations_url":"https://api.github.com/users/nemith/orgs","repos_url":"https://api.github.com/users/nemith/repos","events_url":"https://api.github.com/users/nemith/events{/privacy}","received_events_url":"https://api.github.com/users/nemith/received_events","type":"User","site_admin":false},"body":"urlib2 is a higher level access for http in python and allows for automatic\r\nproxy control as well as error handling greatly simplyfying the code.  Urllib2\r\nwas also added in python 2.1 which should cover anything in the wild.\r\nHopefully no one is running anything less than 2.5 or 2.6.\r\n\r\nAlso switched the url to https.  Certificate validation is not turned on until\r\nPython 2.7.9 or 3.4.3 but it should help protect a bit against this attack\r\nvector.","created_at":"2015-02-18T04:23:54Z","updated_at":"2016-03-14T18:40:01Z","closed_at":"2016-03-14T18:40:01Z","merged_at":"2016-03-14T18:40:01Z","merge_commit_sha":"43ecc4aec2bd43733d175b85379ec93944568054","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/pulls/4/commits","review_comments_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/pulls/4/comments","review_comment_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/pulls/comments{/number}","comments_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/issues/4/comments","statuses_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/statuses/16dc0eb56a0611e237205ee642de2f44a1244288","head":{"label":"nemith:urllib2","ref":"urllib2","sha":"16dc0eb56a0611e237205ee642de2f44a1244288","user":{"login":"nemith","id":349360,"avatar_url":"https://avatars.githubusercontent.com/u/349360?v=3","gravatar_id":"","url":"https://api.github.com/users/nemith","html_url":"https://github.com/nemith","followers_url":"https://api.github.com/users/nemith/followers","following_url":"https://api.github.com/users/nemith/following{/other_user}","gists_url":"https://api.github.com/users/nemith/gists{/gist_id}","starred_url":"https://api.github.com/users/nemith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemith/subscriptions","organizations_url":"https://api.github.com/users/nemith/orgs","repos_url":"https://api.github.com/users/nemith/repos","events_url":"https://api.github.com/users/nemith/events{/privacy}","received_events_url":"https://api.github.com/users/nemith/received_events","type":"User","site_admin":false},"repo":{"id":30950620,"name":"vim-bootstrap-updater","full_name":"nemith/vim-bootstrap-updater","owner":{"login":"nemith","id":349360,"avatar_url":"https://avatars.githubusercontent.com/u/349360?v=3","gravatar_id":"","url":"https://api.github.com/users/nemith","html_url":"https://github.com/nemith","followers_url":"https://api.github.com/users/nemith/followers","following_url":"https://api.github.com/users/nemith/following{/other_user}","gists_url":"https://api.github.com/users/nemith/gists{/gist_id}","starred_url":"https://api.github.com/users/nemith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemith/subscriptions","organizations_url":"https://api.github.com/users/nemith/orgs","repos_url":"https://api.github.com/users/nemith/repos","events_url":"https://api.github.com/users/nemith/events{/privacy}","received_events_url":"https://api.github.com/users/nemith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nemith/vim-bootstrap-updater","description":"","fork":true,"url":"https://api.github.com/repos/nemith/vim-bootstrap-updater","forks_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/forks","keys_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/teams","hooks_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/hooks","issue_events_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/issues/events{/number}","events_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/events","assignees_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/assignees{/user}","branches_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/branches{/branch}","tags_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/tags","blobs_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/git/refs{/sha}","trees_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/statuses/{sha}","languages_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/languages","stargazers_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/stargazers","contributors_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/contributors","subscribers_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/subscribers","subscription_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/subscription","commits_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/commits{/sha}","git_commits_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/git/commits{/sha}","comments_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/comments{/number}","issue_comment_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/issues/comments{/number}","contents_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/contents/{+path}","compare_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/merges","archive_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/downloads","issues_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/issues{/number}","pulls_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/pulls{/number}","milestones_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/milestones{/number}","notifications_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/labels{/name}","releases_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/releases{/id}","deployments_url":"https://api.github.com/repos/nemith/vim-bootstrap-updater/deployments","created_at":"2015-02-18T03:33:26Z","updated_at":"2016-03-14T18:39:31Z","pushed_at":"2015-02-18T18:56:22Z","git_url":"git://github.com/nemith/vim-bootstrap-updater.git","ssh_url":"git@github.com:nemith/vim-bootstrap-updater.git","clone_url":"https://github.com/nemith/vim-bootstrap-updater.git","svn_url":"https://github.com/nemith/vim-bootstrap-updater","homepage":null,"size":156,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"avelino:master","ref":"master","sha":"83f1e75acb63ef72f987c0fb72a9dcb3b3d76168","user":{"login":"avelino","id":31996,"avatar_url":"https://avatars.githubusercontent.com/u/31996?v=3","gravatar_id":"","url":"https://api.github.com/users/avelino","html_url":"https://github.com/avelino","followers_url":"https://api.github.com/users/avelino/followers","following_url":"https://api.github.com/users/avelino/following{/other_user}","gists_url":"https://api.github.com/users/avelino/gists{/gist_id}","starred_url":"https://api.github.com/users/avelino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avelino/subscriptions","organizations_url":"https://api.github.com/users/avelino/orgs","repos_url":"https://api.github.com/users/avelino/repos","events_url":"https://api.github.com/users/avelino/events{/privacy}","received_events_url":"https://api.github.com/users/avelino/received_events","type":"User","site_admin":false},"repo":{"id":23561401,"name":"vim-bootstrap-updater","full_name":"avelino/vim-bootstrap-updater","owner":{"login":"avelino","id":31996,"avatar_url":"https://avatars.githubusercontent.com/u/31996?v=3","gravatar_id":"","url":"https://api.github.com/users/avelino","html_url":"https://github.com/avelino","followers_url":"https://api.github.com/users/avelino/followers","following_url":"https://api.github.com/users/avelino/following{/other_user}","gists_url":"https://api.github.com/users/avelino/gists{/gist_id}","starred_url":"https://api.github.com/users/avelino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avelino/subscriptions","organizations_url":"https://api.github.com/users/avelino/orgs","repos_url":"https://api.github.com/users/avelino/repos","events_url":"https://api.github.com/users/avelino/events{/privacy}","received_events_url":"https://api.github.com/users/avelino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/avelino/vim-bootstrap-updater","description":"","fork":false,"url":"https://api.github.com/repos/avelino/vim-bootstrap-updater","forks_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/forks","keys_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/teams","hooks_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/hooks","issue_events_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/issues/events{/number}","events_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/events","assignees_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/assignees{/user}","branches_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/branches{/branch}","tags_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/tags","blobs_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/git/refs{/sha}","trees_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/statuses/{sha}","languages_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/languages","stargazers_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/stargazers","contributors_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/contributors","subscribers_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/subscribers","subscription_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/subscription","commits_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/commits{/sha}","git_commits_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/git/commits{/sha}","comments_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/comments{/number}","issue_comment_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/issues/comments{/number}","contents_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/contents/{+path}","compare_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/merges","archive_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/downloads","issues_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/issues{/number}","pulls_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/pulls{/number}","milestones_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/milestones{/number}","notifications_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/labels{/name}","releases_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/releases{/id}","deployments_url":"https://api.github.com/repos/avelino/vim-bootstrap-updater/deployments","created_at":"2014-09-02T01:54:41Z","updated_at":"2016-03-14T18:39:31Z","pushed_at":"2016-03-14T18:40:01Z","git_url":"git://github.com/avelino/vim-bootstrap-updater.git","ssh_url":"git@github.com:avelino/vim-bootstrap-updater.git","clone_url":"https://github.com/avelino/vim-bootstrap-updater.git","svn_url":"https://github.com/avelino/vim-bootstrap-updater","homepage":null,"size":192,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/avelino/vim-bootstrap-updater/pulls/4"},"html":{"href":"https://github.com/avelino/vim-bootstrap-updater/pull/4"},"issue":{"href":"https://api.github.com/repos/avelino/vim-bootstrap-updater/issues/4"},"comments":{"href":"https://api.github.com/repos/avelino/vim-bootstrap-updater/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/avelino/vim-bootstrap-updater/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/avelino/vim-bootstrap-updater/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/avelino/vim-bootstrap-updater/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/avelino/vim-bootstrap-updater/statuses/16dc0eb56a0611e237205ee642de2f44a1244288"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"avelino","id":31996,"avatar_url":"https://avatars.githubusercontent.com/u/31996?v=3","gravatar_id":"","url":"https://api.github.com/users/avelino","html_url":"https://github.com/avelino","followers_url":"https://api.github.com/users/avelino/followers","following_url":"https://api.github.com/users/avelino/following{/other_user}","gists_url":"https://api.github.com/users/avelino/gists{/gist_id}","starred_url":"https://api.github.com/users/avelino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avelino/subscriptions","organizations_url":"https://api.github.com/users/avelino/orgs","repos_url":"https://api.github.com/users/avelino/repos","events_url":"https://api.github.com/users/avelino/events{/privacy}","received_events_url":"https://api.github.com/users/avelino/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":3,"additions":55,"deletions":80,"changed_files":4}}