mirror of
https://github.com/google/blockly.git
synced 2026-01-20 15:27:09 +01:00
Switch compile to HTTPS.
This commit is contained in:
committed by
Rachel Fenichel
parent
2ff345fa4e
commit
905d542ae5
2
build.py
2
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()
|
||||
|
||||
Reference in New Issue
Block a user