Skip to content

Commit 1252401

Browse files
authored
Merge pull request #194 from rachel-fenichel/patch-1
Use HTTPS instead of HTTP in build.py
2 parents fe1a2a6 + df16522 commit 1252401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blockly/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def gen_generator(self, language):
270270
def do_compile(self, params, target_filename, filenames, remove):
271271
# Send the request to Google.
272272
headers = {"Content-type": "application/x-www-form-urlencoded"}
273-
conn = httplib.HTTPConnection("closure-compiler.appspot.com")
273+
conn = httplib.HTTPSConnection("closure-compiler.appspot.com")
274274
conn.request("POST", "/compile", urllib.urlencode(params), headers)
275275
response = conn.getresponse()
276276
json_str = response.read()

0 commit comments

Comments
 (0)