{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-cli/pulls/comments/79960161","id":79960161,"diff_hunk":"@@ -334,10 +335,17 @@ def _get_site_credential(client, resource_group, name):\n     return (creds.publishing_user_name, creds.publishing_password)\n \n def _stream_trace(streaming_url, user_name, password):\n-    import pycurl\n-    import certifi\n-    c = pycurl.Curl()\n-    c.setopt(c.URL, streaming_url)\n-    c.setopt(pycurl.CAINFO, certifi.where())\n-    c.setopt(c.USERPWD, '{}:{}'.format(user_name, password))\n-    c.perform()\n+    import urllib3\n+\n+    urllib3.disable_warnings()\n+    http = urllib3.PoolManager()","path":"src/command_modules/azure-cli-webapp/azure/cli/command_modules/webapp/custom.py","position":22,"original_position":22,"commit_id":"1b1b4e0985f37134342a79b32c239912ad3ad1c4","original_commit_id":"1b1b4e0985f37134342a79b32c239912ad3ad1c4","user":{"login":"haocs","id":7462257,"avatar_url":"https://avatars.githubusercontent.com/u/7462257?v=3","gravatar_id":"","url":"https://api.github.com/users/haocs","html_url":"https://github.com/haocs","followers_url":"https://api.github.com/users/haocs/followers","following_url":"https://api.github.com/users/haocs/following{/other_user}","gists_url":"https://api.github.com/users/haocs/gists{/gist_id}","starred_url":"https://api.github.com/users/haocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haocs/subscriptions","organizations_url":"https://api.github.com/users/haocs/orgs","repos_url":"https://api.github.com/users/haocs/repos","events_url":"https://api.github.com/users/haocs/events{/privacy}","received_events_url":"https://api.github.com/users/haocs/received_events","type":"User","site_admin":false},"body":"I agree. But in this case, do we expect our users take any action if they see those warnings?","created_at":"2016-09-22T00:21:41Z","updated_at":"2016-09-22T00:21:42Z","html_url":"https://github.com/Azure/azure-cli/pull/907#discussion_r79960161","pull_request_url":"https://api.github.com/repos/Azure/azure-cli/pulls/907","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/comments/79960161"},"html":{"href":"https://github.com/Azure/azure-cli/pull/907#discussion_r79960161"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/907"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-cli/pulls/907","id":85506948,"html_url":"https://github.com/Azure/azure-cli/pull/907","diff_url":"https://github.com/Azure/azure-cli/pull/907.diff","patch_url":"https://github.com/Azure/azure-cli/pull/907.patch","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/907","number":907,"state":"open","locked":false,"title":"Replaced pycurl with urllib3 in appservice web log stream","user":{"login":"haocs","id":7462257,"avatar_url":"https://avatars.githubusercontent.com/u/7462257?v=3","gravatar_id":"","url":"https://api.github.com/users/haocs","html_url":"https://github.com/haocs","followers_url":"https://api.github.com/users/haocs/followers","following_url":"https://api.github.com/users/haocs/following{/other_user}","gists_url":"https://api.github.com/users/haocs/gists{/gist_id}","starred_url":"https://api.github.com/users/haocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haocs/subscriptions","organizations_url":"https://api.github.com/users/haocs/orgs","repos_url":"https://api.github.com/users/haocs/repos","events_url":"https://api.github.com/users/haocs/events{/privacy}","received_events_url":"https://api.github.com/users/haocs/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-16T01:23:04Z","updated_at":"2016-09-22T00:21:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c01205ce8cf8a73bf79e1103beeff3504ae8327","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-cli/pulls/907/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-cli/pulls/907/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/907/comments","statuses_url":"https://api.github.com/repos/Azure/azure-cli/statuses/1b1b4e0985f37134342a79b32c239912ad3ad1c4","head":{"label":"haocs:stream-trace","ref":"stream-trace","sha":"1b1b4e0985f37134342a79b32c239912ad3ad1c4","user":{"login":"haocs","id":7462257,"avatar_url":"https://avatars.githubusercontent.com/u/7462257?v=3","gravatar_id":"","url":"https://api.github.com/users/haocs","html_url":"https://github.com/haocs","followers_url":"https://api.github.com/users/haocs/followers","following_url":"https://api.github.com/users/haocs/following{/other_user}","gists_url":"https://api.github.com/users/haocs/gists{/gist_id}","starred_url":"https://api.github.com/users/haocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haocs/subscriptions","organizations_url":"https://api.github.com/users/haocs/orgs","repos_url":"https://api.github.com/users/haocs/repos","events_url":"https://api.github.com/users/haocs/events{/privacy}","received_events_url":"https://api.github.com/users/haocs/received_events","type":"User","site_admin":false},"repo":{"id":68238716,"name":"azure-cli","full_name":"haocs/azure-cli","owner":{"login":"haocs","id":7462257,"avatar_url":"https://avatars.githubusercontent.com/u/7462257?v=3","gravatar_id":"","url":"https://api.github.com/users/haocs","html_url":"https://github.com/haocs","followers_url":"https://api.github.com/users/haocs/followers","following_url":"https://api.github.com/users/haocs/following{/other_user}","gists_url":"https://api.github.com/users/haocs/gists{/gist_id}","starred_url":"https://api.github.com/users/haocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haocs/subscriptions","organizations_url":"https://api.github.com/users/haocs/orgs","repos_url":"https://api.github.com/users/haocs/repos","events_url":"https://api.github.com/users/haocs/events{/privacy}","received_events_url":"https://api.github.com/users/haocs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haocs/azure-cli","description":"Command-line tools for Azure.","fork":true,"url":"https://api.github.com/repos/haocs/azure-cli","forks_url":"https://api.github.com/repos/haocs/azure-cli/forks","keys_url":"https://api.github.com/repos/haocs/azure-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haocs/azure-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haocs/azure-cli/teams","hooks_url":"https://api.github.com/repos/haocs/azure-cli/hooks","issue_events_url":"https://api.github.com/repos/haocs/azure-cli/issues/events{/number}","events_url":"https://api.github.com/repos/haocs/azure-cli/events","assignees_url":"https://api.github.com/repos/haocs/azure-cli/assignees{/user}","branches_url":"https://api.github.com/repos/haocs/azure-cli/branches{/branch}","tags_url":"https://api.github.com/repos/haocs/azure-cli/tags","blobs_url":"https://api.github.com/repos/haocs/azure-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haocs/azure-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haocs/azure-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/haocs/azure-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haocs/azure-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/haocs/azure-cli/languages","stargazers_url":"https://api.github.com/repos/haocs/azure-cli/stargazers","contributors_url":"https://api.github.com/repos/haocs/azure-cli/contributors","subscribers_url":"https://api.github.com/repos/haocs/azure-cli/subscribers","subscription_url":"https://api.github.com/repos/haocs/azure-cli/subscription","commits_url":"https://api.github.com/repos/haocs/azure-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/haocs/azure-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/haocs/azure-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/haocs/azure-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/haocs/azure-cli/contents/{+path}","compare_url":"https://api.github.com/repos/haocs/azure-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haocs/azure-cli/merges","archive_url":"https://api.github.com/repos/haocs/azure-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haocs/azure-cli/downloads","issues_url":"https://api.github.com/repos/haocs/azure-cli/issues{/number}","pulls_url":"https://api.github.com/repos/haocs/azure-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/haocs/azure-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/haocs/azure-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haocs/azure-cli/labels{/name}","releases_url":"https://api.github.com/repos/haocs/azure-cli/releases{/id}","deployments_url":"https://api.github.com/repos/haocs/azure-cli/deployments","created_at":"2016-09-14T19:59:42Z","updated_at":"2016-09-14T19:59:46Z","pushed_at":"2016-09-21T23:40:25Z","git_url":"git://github.com/haocs/azure-cli.git","ssh_url":"git@github.com:haocs/azure-cli.git","clone_url":"https://github.com/haocs/azure-cli.git","svn_url":"https://github.com/haocs/azure-cli","homepage":null,"size":7167,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"a244008fc746e17ecfb5177511ff82c9463cabde","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":51040886,"name":"azure-cli","full_name":"Azure/azure-cli","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-cli","description":"Command-line tools for Azure.","fork":false,"url":"https://api.github.com/repos/Azure/azure-cli","forks_url":"https://api.github.com/repos/Azure/azure-cli/forks","keys_url":"https://api.github.com/repos/Azure/azure-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-cli/teams","hooks_url":"https://api.github.com/repos/Azure/azure-cli/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-cli/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-cli/events","assignees_url":"https://api.github.com/repos/Azure/azure-cli/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-cli/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-cli/tags","blobs_url":"https://api.github.com/repos/Azure/azure-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-cli/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-cli/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-cli/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-cli/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-cli/subscription","commits_url":"https://api.github.com/repos/Azure/azure-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-cli/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-cli/merges","archive_url":"https://api.github.com/repos/Azure/azure-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-cli/downloads","issues_url":"https://api.github.com/repos/Azure/azure-cli/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-cli/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-cli/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-cli/deployments","created_at":"2016-02-04T00:21:51Z","updated_at":"2016-09-21T10:16:25Z","pushed_at":"2016-09-21T23:40:26Z","git_url":"git://github.com/Azure/azure-cli.git","ssh_url":"git@github.com:Azure/azure-cli.git","clone_url":"https://github.com/Azure/azure-cli.git","svn_url":"https://github.com/Azure/azure-cli","homepage":null,"size":10312,"stargazers_count":39,"watchers_count":39,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":148,"forks":23,"open_issues":148,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/907"},"html":{"href":"https://github.com/Azure/azure-cli/pull/907"},"issue":{"href":"https://api.github.com/repos/Azure/azure-cli/issues/907"},"comments":{"href":"https://api.github.com/repos/Azure/azure-cli/issues/907/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/907/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/907/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-cli/statuses/1b1b4e0985f37134342a79b32c239912ad3ad1c4"}}}}
{"actor":{"display_login":"haocs"}}