From 905d542ae55588440228402c066fe68e1eb9622b Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Fri, 27 Oct 2017 16:40:55 -0700 Subject: [PATCH] Switch compile to HTTPS. --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index a1ab928ba..fab3d0039 100755 --- a/build.py +++ b/build.py @@ -355,7 +355,7 @@ class Gen_compressed(threading.Thread): def do_compile(self, params, target_filename, filenames, remove): # Send the request to Google. headers = {"Content-type": "application/x-www-form-urlencoded"} - conn = httplib.HTTPConnection("closure-compiler.appspot.com") + conn = httplib.HTTPSConnection("closure-compiler.appspot.com") conn.request("POST", "/compile", urllib.urlencode(params), headers) response = conn.getresponse() json_str = response.read()