{"action":"created","comment":{"url":"https://api.github.com/repos/google/certificate-transparency/pulls/comments/33679546","id":33679546,"diff_hunk":"@@ -209,18 +210,21 @@ def __str__(self):\n     def get_response(self, uri, params=None):\n         \"\"\"Get an HTTP response for a GET request.\"\"\"\n         try:\n-            return requests.get(uri, params=params, timeout=self._timeout,\n-                                verify=self._ca_bundle)\n-        except requests.exceptions.RequestException as e:\n+            return RequestHandler._build_requests_style_response(","path":"python/ct/client/log_client.py","position":null,"original_position":38,"commit_id":"92ce9a2bd91b14b8e5bdf12e9d0444a241e63b15","original_commit_id":"ca51fca4058a7e660298114ab0a8dd09619cbaf8","user":{"login":"phad","id":874173,"avatar_url":"https://avatars.githubusercontent.com/u/874173?v=3","gravatar_id":"","url":"https://api.github.com/users/phad","html_url":"https://github.com/phad","followers_url":"https://api.github.com/users/phad/followers","following_url":"https://api.github.com/users/phad/following{/other_user}","gists_url":"https://api.github.com/users/phad/gists{/gist_id}","starred_url":"https://api.github.com/users/phad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phad/subscriptions","organizations_url":"https://api.github.com/users/phad/orgs","repos_url":"https://api.github.com/users/phad/repos","events_url":"https://api.github.com/users/phad/events{/privacy}","received_events_url":"https://api.github.com/users/phad/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-07-01T13:51:02Z","updated_at":"2015-07-01T13:51:02Z","html_url":"https://github.com/google/certificate-transparency/pull/810#discussion_r33679546","pull_request_url":"https://api.github.com/repos/google/certificate-transparency/pulls/810","_links":{"self":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/comments/33679546"},"html":{"href":"https://github.com/google/certificate-transparency/pull/810#discussion_r33679546"},"pull_request":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/810"}}},"pull_request":{"url":"https://api.github.com/repos/google/certificate-transparency/pulls/810","id":38775578,"html_url":"https://github.com/google/certificate-transparency/pull/810","diff_url":"https://github.com/google/certificate-transparency/pull/810.diff","patch_url":"https://github.com/google/certificate-transparency/pull/810.patch","issue_url":"https://api.github.com/repos/google/certificate-transparency/issues/810","number":810,"state":"open","locked":false,"title":"Migrate from 'requests' for an HTTP client to 'httplib2'","user":{"login":"phad","id":874173,"avatar_url":"https://avatars.githubusercontent.com/u/874173?v=3","gravatar_id":"","url":"https://api.github.com/users/phad","html_url":"https://github.com/phad","followers_url":"https://api.github.com/users/phad/followers","following_url":"https://api.github.com/users/phad/following{/other_user}","gists_url":"https://api.github.com/users/phad/gists{/gist_id}","starred_url":"https://api.github.com/users/phad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phad/subscriptions","organizations_url":"https://api.github.com/users/phad/orgs","repos_url":"https://api.github.com/users/phad/repos","events_url":"https://api.github.com/users/phad/events{/privacy}","received_events_url":"https://api.github.com/users/phad/received_events","type":"User","site_admin":false},"body":"This is being done because 'requests' depends on 'urllib3' which is thought to have security issues.","created_at":"2015-06-29T13:53:18Z","updated_at":"2015-07-01T13:51:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"689f024a6f8e0b6d7b4772a6385a11abe9a82a3e","assignee":{"login":"eranmes","id":1072163,"avatar_url":"https://avatars.githubusercontent.com/u/1072163?v=3","gravatar_id":"","url":"https://api.github.com/users/eranmes","html_url":"https://github.com/eranmes","followers_url":"https://api.github.com/users/eranmes/followers","following_url":"https://api.github.com/users/eranmes/following{/other_user}","gists_url":"https://api.github.com/users/eranmes/gists{/gist_id}","starred_url":"https://api.github.com/users/eranmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eranmes/subscriptions","organizations_url":"https://api.github.com/users/eranmes/orgs","repos_url":"https://api.github.com/users/eranmes/repos","events_url":"https://api.github.com/users/eranmes/events{/privacy}","received_events_url":"https://api.github.com/users/eranmes/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/google/certificate-transparency/pulls/810/commits","review_comments_url":"https://api.github.com/repos/google/certificate-transparency/pulls/810/comments","review_comment_url":"https://api.github.com/repos/google/certificate-transparency/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/certificate-transparency/issues/810/comments","statuses_url":"https://api.github.com/repos/google/certificate-transparency/statuses/92ce9a2bd91b14b8e5bdf12e9d0444a241e63b15","head":{"label":"phad:migrate_requests_to_httplib2","ref":"migrate_requests_to_httplib2","sha":"92ce9a2bd91b14b8e5bdf12e9d0444a241e63b15","user":{"login":"phad","id":874173,"avatar_url":"https://avatars.githubusercontent.com/u/874173?v=3","gravatar_id":"","url":"https://api.github.com/users/phad","html_url":"https://github.com/phad","followers_url":"https://api.github.com/users/phad/followers","following_url":"https://api.github.com/users/phad/following{/other_user}","gists_url":"https://api.github.com/users/phad/gists{/gist_id}","starred_url":"https://api.github.com/users/phad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phad/subscriptions","organizations_url":"https://api.github.com/users/phad/orgs","repos_url":"https://api.github.com/users/phad/repos","events_url":"https://api.github.com/users/phad/events{/privacy}","received_events_url":"https://api.github.com/users/phad/received_events","type":"User","site_admin":false},"repo":{"id":25929782,"name":"certificate-transparency","full_name":"phad/certificate-transparency","owner":{"login":"phad","id":874173,"avatar_url":"https://avatars.githubusercontent.com/u/874173?v=3","gravatar_id":"","url":"https://api.github.com/users/phad","html_url":"https://github.com/phad","followers_url":"https://api.github.com/users/phad/followers","following_url":"https://api.github.com/users/phad/following{/other_user}","gists_url":"https://api.github.com/users/phad/gists{/gist_id}","starred_url":"https://api.github.com/users/phad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phad/subscriptions","organizations_url":"https://api.github.com/users/phad/orgs","repos_url":"https://api.github.com/users/phad/repos","events_url":"https://api.github.com/users/phad/events{/privacy}","received_events_url":"https://api.github.com/users/phad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phad/certificate-transparency","description":"Auditing for TLS certificates.","fork":true,"url":"https://api.github.com/repos/phad/certificate-transparency","forks_url":"https://api.github.com/repos/phad/certificate-transparency/forks","keys_url":"https://api.github.com/repos/phad/certificate-transparency/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phad/certificate-transparency/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phad/certificate-transparency/teams","hooks_url":"https://api.github.com/repos/phad/certificate-transparency/hooks","issue_events_url":"https://api.github.com/repos/phad/certificate-transparency/issues/events{/number}","events_url":"https://api.github.com/repos/phad/certificate-transparency/events","assignees_url":"https://api.github.com/repos/phad/certificate-transparency/assignees{/user}","branches_url":"https://api.github.com/repos/phad/certificate-transparency/branches{/branch}","tags_url":"https://api.github.com/repos/phad/certificate-transparency/tags","blobs_url":"https://api.github.com/repos/phad/certificate-transparency/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phad/certificate-transparency/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phad/certificate-transparency/git/refs{/sha}","trees_url":"https://api.github.com/repos/phad/certificate-transparency/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phad/certificate-transparency/statuses/{sha}","languages_url":"https://api.github.com/repos/phad/certificate-transparency/languages","stargazers_url":"https://api.github.com/repos/phad/certificate-transparency/stargazers","contributors_url":"https://api.github.com/repos/phad/certificate-transparency/contributors","subscribers_url":"https://api.github.com/repos/phad/certificate-transparency/subscribers","subscription_url":"https://api.github.com/repos/phad/certificate-transparency/subscription","commits_url":"https://api.github.com/repos/phad/certificate-transparency/commits{/sha}","git_commits_url":"https://api.github.com/repos/phad/certificate-transparency/git/commits{/sha}","comments_url":"https://api.github.com/repos/phad/certificate-transparency/comments{/number}","issue_comment_url":"https://api.github.com/repos/phad/certificate-transparency/issues/comments{/number}","contents_url":"https://api.github.com/repos/phad/certificate-transparency/contents/{+path}","compare_url":"https://api.github.com/repos/phad/certificate-transparency/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phad/certificate-transparency/merges","archive_url":"https://api.github.com/repos/phad/certificate-transparency/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phad/certificate-transparency/downloads","issues_url":"https://api.github.com/repos/phad/certificate-transparency/issues{/number}","pulls_url":"https://api.github.com/repos/phad/certificate-transparency/pulls{/number}","milestones_url":"https://api.github.com/repos/phad/certificate-transparency/milestones{/number}","notifications_url":"https://api.github.com/repos/phad/certificate-transparency/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phad/certificate-transparency/labels{/name}","releases_url":"https://api.github.com/repos/phad/certificate-transparency/releases{/id}","created_at":"2014-10-29T16:18:37Z","updated_at":"2015-05-07T16:25:00Z","pushed_at":"2015-07-01T13:43:07Z","git_url":"git://github.com/phad/certificate-transparency.git","ssh_url":"git@github.com:phad/certificate-transparency.git","clone_url":"https://github.com/phad/certificate-transparency.git","svn_url":"https://github.com/phad/certificate-transparency","homepage":"http://www.certificate-transparency.org/","size":19135,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"b35da0fdf739c299642e42b9a3613c0b59d493a2","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":19989605,"name":"certificate-transparency","full_name":"google/certificate-transparency","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/certificate-transparency","description":"Auditing for TLS certificates.","fork":false,"url":"https://api.github.com/repos/google/certificate-transparency","forks_url":"https://api.github.com/repos/google/certificate-transparency/forks","keys_url":"https://api.github.com/repos/google/certificate-transparency/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/certificate-transparency/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/certificate-transparency/teams","hooks_url":"https://api.github.com/repos/google/certificate-transparency/hooks","issue_events_url":"https://api.github.com/repos/google/certificate-transparency/issues/events{/number}","events_url":"https://api.github.com/repos/google/certificate-transparency/events","assignees_url":"https://api.github.com/repos/google/certificate-transparency/assignees{/user}","branches_url":"https://api.github.com/repos/google/certificate-transparency/branches{/branch}","tags_url":"https://api.github.com/repos/google/certificate-transparency/tags","blobs_url":"https://api.github.com/repos/google/certificate-transparency/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/certificate-transparency/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/certificate-transparency/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/certificate-transparency/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/certificate-transparency/statuses/{sha}","languages_url":"https://api.github.com/repos/google/certificate-transparency/languages","stargazers_url":"https://api.github.com/repos/google/certificate-transparency/stargazers","contributors_url":"https://api.github.com/repos/google/certificate-transparency/contributors","subscribers_url":"https://api.github.com/repos/google/certificate-transparency/subscribers","subscription_url":"https://api.github.com/repos/google/certificate-transparency/subscription","commits_url":"https://api.github.com/repos/google/certificate-transparency/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/certificate-transparency/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/certificate-transparency/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/certificate-transparency/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/certificate-transparency/contents/{+path}","compare_url":"https://api.github.com/repos/google/certificate-transparency/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/certificate-transparency/merges","archive_url":"https://api.github.com/repos/google/certificate-transparency/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/certificate-transparency/downloads","issues_url":"https://api.github.com/repos/google/certificate-transparency/issues{/number}","pulls_url":"https://api.github.com/repos/google/certificate-transparency/pulls{/number}","milestones_url":"https://api.github.com/repos/google/certificate-transparency/milestones{/number}","notifications_url":"https://api.github.com/repos/google/certificate-transparency/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/certificate-transparency/labels{/name}","releases_url":"https://api.github.com/repos/google/certificate-transparency/releases{/id}","created_at":"2014-05-20T17:03:47Z","updated_at":"2015-06-29T23:42:50Z","pushed_at":"2015-07-01T13:43:08Z","git_url":"git://github.com/google/certificate-transparency.git","ssh_url":"git@github.com:google/certificate-transparency.git","clone_url":"https://github.com/google/certificate-transparency.git","svn_url":"https://github.com/google/certificate-transparency","homepage":"http://www.certificate-transparency.org/","size":24169,"stargazers_count":138,"watchers_count":138,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":52,"forks":47,"open_issues":52,"watchers":138,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/810"},"html":{"href":"https://github.com/google/certificate-transparency/pull/810"},"issue":{"href":"https://api.github.com/repos/google/certificate-transparency/issues/810"},"comments":{"href":"https://api.github.com/repos/google/certificate-transparency/issues/810/comments"},"review_comments":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/810/comments"},"review_comment":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/810/commits"},"statuses":{"href":"https://api.github.com/repos/google/certificate-transparency/statuses/92ce9a2bd91b14b8e5bdf12e9d0444a241e63b15"}}}}