Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2794,13 +2794,6 @@ def get_scm_site_headers(cli_ctx, name, resource_group_name, slot=None, addition


def _get_log(url, headers, log_file=None):
import urllib3
try:
import urllib3.contrib.pyopenssl
urllib3.contrib.pyopenssl.inject_into_urllib3()
except ImportError:
pass

http = get_pool_manager(url)
r = http.request(
'GET',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,6 @@ def is_port_open(self):

def is_webapp_up(self):
import urllib3

try:
import urllib3.contrib.pyopenssl
urllib3.contrib.pyopenssl.inject_into_urllib3()
except ImportError:
pass

headers = urllib3.util.make_headers()
headers["authorization"] = self.auth_string
url = 'https://{}{}'.format(self.remote_addr, '/AppServiceTunnel/Tunnel.ashx?GetStatus&GetStatusAPIVer=2')
Expand Down