mirror of
https://github.com/google/blockly.git
synced 2026-01-27 10:40:09 +01:00
Switch build to HTTPS.
The online Closure Compiler drops http as of today.
This commit is contained in:
committed by
Rachel Fenichel
parent
100a968d9f
commit
3bd608b6ae
2
build.py
2
build.py
@@ -396,7 +396,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()
|
||||
|
||||
Reference in New Issue
Block a user